https://bugzilla.novell.com/show_bug.cgi?id=596177
https://bugzilla.novell.com/show_bug.cgi?id=596177#c16
Michal Vyskocil changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #16 from Michal Vyskocil 2011-04-19 08:54:54 UTC ---
This is going to be fixed in Factory (at will be backported to openSUSEs as
well) - sr:67852.
On the end I have to use this %posttrans script, because there were some corner
cases
* openjdk requires java-ca-certificates, but when they are installed without
/usr/bin/java, no certificates are generated
* one of Java:openjdk6:Factory updates installs default empty cacert file
* user can use his own cacerts, so let it behaves like config noreplace.
%if %{suse_version} >= 1130
%posttrans
# if there's no java, certificates are not generated
if [ ! -f /var/lib/ca-certificates/java-cacerts ]; then
/usr/lib/ca-certificates/update.d/java.run
fi
# remove the default empty cacert file, if it's installed
if [ `stat -c "%s" %{cacerts} 2>/dev/null` = "32" ] ; then
rm -f %{cacerts}
fi
if [ ! -e %{cacerts} ]; then
ln -s /var/lib/ca-certificates/java-cacerts %{cacerts}
%endif
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.