Bug#268214: [PATCH] better fix for #268214
Alex Owen
Alex Owen <owen@cus.org.uk>, 268214@bugs.debian.org
Thu Oct 7 13:16:02 2004
tags 268214 patch
thanks
Here is an implementation of Juergen Kreileder suggested solution.
This patch can be tested by application to /usr/share/java-package/j2se.sh
To patch the source propper apply it to java-package-0.14/lib/j2se.sh
----8<----
--- j2se.sh.orig 2004-09-13 08:14:26.000000000 +0100
+++ j2se.sh 2004-10-07 19:38:52.000000000 +0100
@@ -132,6 +132,11 @@
# Problem: dh_installchangelogs thinks this is a native package.
echo " dh_installdocs"
dh_installdocs
+ echo " dh_installdirs"
+ dh_installdirs etc/.java/.systemPrefs
+ echo " Create conffiles"
+ touch $install_dir/etc/.java/.systemPrefs/.system.lock
+ touch $install_dir/etc/.java/.systemPrefs/.systemRootModFile
# dh_install
# dh_link
echo " dh_strip"
----8<----
I have tested this by by building and installing Sun's SDK
j2sdk-1_4_2_05-linux-i586.bin.
If anyone tests this do email this bug to report to let us know how you
get on!
Alex Owen