wok-current diff firefox/receipt @ rev 2785

slitaz-eeepc: Tiny clean up
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 27 21:56:49 2009 +0200 (2009-04-27)
parents 5d4d91cce2bb
children 08e60b697edb
line diff
     1.1 --- a/firefox/receipt	Wed Apr 22 17:45:58 2009 +0200
     1.2 +++ b/firefox/receipt	Mon Apr 27 21:56:49 2009 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="firefox"
     1.7 -VERSION="3.0.8"
     1.8 +VERSION="3.0.9"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="User friendly, secure and fast web browser."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -21,8 +21,7 @@
    1.13  {
    1.14  	# Move the mozilla source tree to $PACKAGE-$VERSION to keep variables
    1.15  	# and to have a nice clean.
    1.16 -	#
    1.17 -	mv mozilla $PACKAGE-$VERSION
    1.18 +	mv mozilla $PACKAGE-$VERSION 2>/dev/null
    1.19  	cp -a stuff/firefox.mozconfig $src/.mozconfig
    1.20  	cd $src
    1.21  	./configure $CONFIGURE_ARGS &&
    1.22 @@ -37,9 +36,10 @@
    1.23  	cp -a $_pkg/usr/bin $fs/usr
    1.24  	cp -a $_pkg/usr/lib/$PACKAGE-$VERSION $fs/usr/lib
    1.25  
    1.26 -	# SliTaz Web site for the home page, bookmarks file and branding.
    1.27 +	# Home page, bookmarks file and branding.
    1.28  	cp -a stuff/browserconfig.properties $fs/usr/lib/$PACKAGE-$VERSION
    1.29 -	cp -a stuff/bookmarks.html $fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
    1.30 +	cp -a stuff/bookmarks.html \
    1.31 +		$fs/usr/lib/$PACKAGE-$VERSION/defaults/profile
    1.32  	cp -a stuff/firefox-branding.js \
    1.33  		$fs/usr/lib/$PACKAGE-$VERSION/defaults/pref/
    1.34  
    1.35 @@ -64,8 +64,7 @@
    1.36  		-C $fs/usr/lib/$PACKAGE-$VERSION/extensions
    1.37  	sed -i "s/maxVersion>3.0../maxVersion>$VERSION/" \
    1.38  		$fs/usr/lib/$PACKAGE-$VERSION/extensions/langpack*/install.rdf
    1.39 -		
    1.40 -
    1.41 +	
    1.42  	# Search Plugin (by: oddball)
    1.43  	cp -a stuff/searchplugins $fs/usr/lib/firefox-$VERSION/
    1.44  	chown -R root.root $fs
    1.45 @@ -84,8 +83,9 @@
    1.46  	# Get old plugins
    1.47  	mkdir /tmp/firefox-plugins-$$
    1.48  	cp -a $root/usr/lib/firefox-*/plugins/* /tmp/firefox-plugins-$$ 2> /dev/null
    1.49 -	# Remove old libs
    1.50 +	# Remove old libs and configs
    1.51  	rm -rf $root/usr/lib/firefox-*
    1.52 +	rm -rf $root/etc/firefox
    1.53  }
    1.54  post_install()
    1.55  {