[Lunar-commits] <moonbase> firefox4: updated to 4.0.1 and clean up old ff junk

Zbigniew Luszpinski zbiggy at lunar-linux.org
Thu Apr 28 23:37:38 CEST 2011


commit fefd7294b37c6403867293efd04be236d583f032
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Thu Apr 28 23:37:38 2011 +0200

    firefox4: updated to 4.0.1 and clean up old ff junk
---
 web/firefox4/DETAILS      |    6 +++---
 web/firefox4/POST_INSTALL |   15 +++++++++++++--
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/web/firefox4/DETAILS b/web/firefox4/DETAILS
index 1af5be1..a886677 100644
--- a/web/firefox4/DETAILS
+++ b/web/firefox4/DETAILS
@@ -1,14 +1,14 @@
           MODULE=firefox4
-         VERSION=4.0
+         VERSION=4.0.1
           SOURCE=firefox-$VERSION.source.tar.bz2
    SOURCE_URL[0]=ftp://ftp.uni-erlangen.de/pub/mozilla.org/firefox/releases/$VERSION/source
    SOURCE_URL[1]=ftp://mozilla.isc.org/pub/mozilla.org/firefox/releases/$VERSION/source
    SOURCE_URL[2]=ftp://ftp.mozilla.org/pub/firefox/releases/$VERSION/source
-      SOURCE_VFY=sha1:403da9dd65662e5c4dd34299214e04cb6f80575e
+      SOURCE_VFY=sha1:c89bc5106266aa0097a7be15be84555bd2649f03
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/mozilla-2.0
         WEB_SITE=http://www.mozilla.org/projects/firefox
          ENTERED=20030810
-         UPDATED=20110322
+         UPDATED=20110428
       MAINTAINER="tchan at lunar-linux.org"
            PSAFE=no
            SHORT="A speedy, full-featured web browser"
diff --git a/web/firefox4/POST_INSTALL b/web/firefox4/POST_INSTALL
index b6c3a0c..aa542ae 100644
--- a/web/firefox4/POST_INSTALL
+++ b/web/firefox4/POST_INSTALL
@@ -6,13 +6,24 @@ FFOX_LIBDIR=firefox-$NEW_VER
 if [ ! -z "$OLD_VER" ] && [ "$OLD_VER" != "$NEW_VER" ] ; then
   for old_version in $OLD_VER
   do
-    rm -rf "/usr/lib/firefox-$old_version"
-    rm -rf "/usr/lib/firefox-devel-$old_version"
+    rm -rf /usr/lib/firefox-$old_version
+    rm -rf /usr/lib/firefox-devel-$old_version
+    rm -rf /usr/include/firefox-$old_version
+    rm -rf /usr/share/idl/firefox-$old_version
+    rm -rf /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include-fixed/firefox-$old_version
   done
 fi
 
 unset_module_config OLD_VER
 
+# Clean up old firefox junk
+rm -rf /usr/include/firefox-3*
+rm -rf /usr/include/firefox-4.0b*
+rm -rf /usr/share/idl/firefox-3*
+rm -rf /usr/share/idl/firefox-4.0b*
+rm -rf /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include-fixed/firefox-3*
+rm -rf /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include-fixed/firefox-4.0b*
+
 export LD_LIBRARY_PATH="$FIREFOX_HOME/lib/$FFOX_LIBDIR:$FIREFOX_HOME/lib/$FFOX_LIBDIR/plugins:$FIREFOX_HOME/lib/$FFOX_LIBDIR/components"
 export MOZILLA_FIVE_HOME="$FIREFOX_HOME/lib/$FFOX_LIBDIR"
 ldconfig


More information about the Lunar-commits mailing list