[Lunar-commits] r23102 - moonbase/trunk/web/firefox

Jason Johnston xoritor at lunar-linux.org
Fri Feb 2 00:38:29 CET 2007


Author: xoritor
Date: 2007-02-02 00:38:29 +0100 (Fri, 02 Feb 2007)
New Revision: 23102

Modified:
   moonbase/trunk/web/firefox/BUILD
Log:
Fixed issue with /usr/lib/firefox-$VERSION/plugins being a dir causing install to fail.



Modified: moonbase/trunk/web/firefox/BUILD
===================================================================
--- moonbase/trunk/web/firefox/BUILD	2007-02-01 18:29:17 UTC (rev 23101)
+++ moonbase/trunk/web/firefox/BUILD	2007-02-01 23:38:29 UTC (rev 23102)
@@ -4,8 +4,8 @@
   fi &&
   
   # don't know why this symlink is causing problems now
-  rm -f /usr/lib/firefox-$VERSION/plugins &&
-  
+  [[ -d /usr/lib/firefox-$VERSION/plugins ]] && rm -rf /usr/lib/firefox-$VERSION/plugins || rm -f /usr/lib/firefox-$VERSION/plugins
+
   MOZILLA_HOME=/usr/lib/$MODULE-$VERSION 
   
   MOZ_EXTENSIONS="cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,permissions,spellcheck"



More information about the Lunar-commits mailing list