# HG changeset patch # User Eric Joseph-Alexandre # Date 1332636925 -3600 # Node ID c6fbddf69ced12d3298d9b52c6c8d2028e647b35 # Parent b22662429801007b4d0a61c7734c2d5c89e03613 get-flash-plugin: Firefox have no more plugins directory diff -r b22662429801 -r c6fbddf69ced get-flash-plugin/stuff/get-flash-plugin --- a/get-flash-plugin/stuff/get-flash-plugin Sun Mar 25 01:54:18 2012 +0100 +++ b/get-flash-plugin/stuff/get-flash-plugin Sun Mar 25 01:55:25 2012 +0100 @@ -77,10 +77,8 @@ post_install() { echo -n "Processing post install commands..." - if [ -d \$1/$INSTALLED/firefox ] ; then - ln -s /usr/share/flash/libflashplayer.so \$1/usr/lib/firefox/plugins - fi - mkdir -p \$1/usr/lib/mozilla/plugins + + [ -d /usr/lib/mozilla/plugins ] || mkdir -p \$1/usr/lib/mozilla/plugins ln -s /usr/share/flash/libflashplayer.so \$1/usr/lib/mozilla/plugins status } @@ -88,9 +86,6 @@ post_remove() { echo -n "Processing post remove commands..." - if [ -d $INSTALLED/firefox ] ; then - rm -f /usr/lib/firefox/plugins/libflashplayer.so - fi rm -f /usr/lib/mozilla/plugins/libflashplayer.so status }