wok diff get-flash-plugin/stuff/get-flash-plugin @ rev 12435

jabberd2: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 21 17:46:17 2012 +0200 (2012-04-21)
parents 05ee700100bf
children 1e63dfca3c69
line diff
     1.1 --- a/get-flash-plugin/stuff/get-flash-plugin	Tue Nov 29 11:53:47 2011 +0000
     1.2 +++ b/get-flash-plugin/stuff/get-flash-plugin	Sat Apr 21 17:46:17 2012 +0200
     1.3 @@ -77,10 +77,8 @@
     1.4  post_install()
     1.5  {
     1.6  	echo -n "Processing post install commands..."
     1.7 -	if [ -d \$1/$INSTALLED/firefox ] ; then
     1.8 -		ln -s /usr/share/flash/libflashplayer.so \$1/usr/lib/firefox/plugins
     1.9 -	fi	 
    1.10 -	mkdir -p \$1/usr/lib/mozilla/plugins
    1.11 + 
    1.12 +	[ -d /usr/lib/mozilla/plugins ] || mkdir -p \$1/usr/lib/mozilla/plugins
    1.13  	ln -s /usr/share/flash/libflashplayer.so \$1/usr/lib/mozilla/plugins
    1.14  	status
    1.15  }
    1.16 @@ -88,9 +86,6 @@
    1.17  post_remove()
    1.18  {
    1.19  	echo -n "Processing post remove commands..."
    1.20 -	if [ -d $INSTALLED/firefox ] ; then
    1.21 -		rm -f /usr/lib/firefox/plugins/libflashplayer.so
    1.22 -	fi
    1.23  	rm -f /usr/lib/mozilla/plugins/libflashplayer.so
    1.24  	status
    1.25  }