wok-6.x rev 12184
get-flash-plugin: Firefox have no more plugins directory
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 25 01:55:25 2012 +0100 (2012-03-25) |
parents | b22662429801 |
children | 25299eba1118 |
files | get-flash-plugin/stuff/get-flash-plugin |
line diff
1.1 --- a/get-flash-plugin/stuff/get-flash-plugin Sun Mar 25 01:54:18 2012 +0100 1.2 +++ b/get-flash-plugin/stuff/get-flash-plugin Sun Mar 25 01:55:25 2012 +0100 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 }