Author: peroyvind
Date: Wed Feb 14 21:58:46 2007
New Revision: 121158

Modified:
   packages/cooker/java-1.6.0-sun/current/SPECS/java-1.6.0-sun.spec

Log:
ensure that plugins dir exists for update-alternatives

Modified: packages/cooker/java-1.6.0-sun/current/SPECS/java-1.6.0-sun.spec
==============================================================================
--- packages/cooker/java-1.6.0-sun/current/SPECS/java-1.6.0-sun.spec    
(original)
+++ packages/cooker/java-1.6.0-sun/current/SPECS/java-1.6.0-sun.spec    Wed Feb 
14 21:58:46 2007
@@ -301,6 +301,9 @@
 # These %ghost'd files are created properly in %post  -- Rex
 touch 
%{buildroot}%{fontdir}/{fonts.{alias,dir,scale,cache-1},XftCache,encodings.dir}
 
+# make sure that plugin dir exists so update-alternatives won't fail if 
mozilla/firefox isn't installed
+install -d %{buildroot}%{_libdir}/mozilla/plugins
+
 cd ..
 # Most of this shamelessly stolen from redhat's kdebase-2.2.2 specfile
 
@@ -497,6 +500,8 @@
 %ifnarch x86_64
 %files plugin -f %{name}-%{version}-plugin.files
 %defattr(-,root,root,-)
+%dir %{_libdir}/mozilla
+%dir %{_libdir}/mozilla/plugins
 %endif
 
 %files fonts

Reply via email to