# HG changeset patch # User Pascal Bellard # Date 1344323733 -7200 # Node ID a81b80118645330cafb8aa4569a9d99df9a2f761 # Parent 03afa2371fe5fedabf944e5881635c39f8dccb09 get-flash-plugin: add chrome & opera support diff -r 03afa2371fe5 -r a81b80118645 get-flash-plugin/receipt --- a/get-flash-plugin/receipt Mon Aug 06 15:22:20 2012 +0200 +++ b/get-flash-plugin/receipt Tue Aug 07 09:15:33 2012 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="get-flash-plugin" -VERSION="1.2" +VERSION="1.3" CATEGORY="non-free" SHORT_DESC="Get Adobe Flash Player." MAINTAINER="pascal.bellard@slitaz.org" diff -r 03afa2371fe5 -r a81b80118645 get-flash-plugin/stuff/get-flash-plugin --- a/get-flash-plugin/stuff/get-flash-plugin Mon Aug 06 15:22:20 2012 +0200 +++ b/get-flash-plugin/stuff/get-flash-plugin Tue Aug 07 09:15:33 2012 +0200 @@ -84,15 +84,21 @@ { echo -n "Processing post install commands..." - [ -d /usr/lib/mozilla/plugins ] || mkdir -p \$1/usr/lib/mozilla/plugins + [ -d \$1/usr/lib/mozilla/plugins ] || mkdir -p \$1/usr/lib/mozilla/plugins ln -s /usr/share/flash/libflashplayer.so \$1/usr/lib/mozilla/plugins + [ -d \$1/opt/google/chrome/plugins ] || mkdir -p \$1/opt/google/chrome/plugins + ln -s /usr/share/flash/libflashplayer.so \$1/opt/google/chrome/plugins/libgcflashplayer.so + [ -d \$1/usr/lib/opera/plugins ] || mkdir -p \$1/usr/lib/opera/plugins + ln -s /usr/share/flash/libflashplayer.so \$1/usr/lib/opera/plugins/libflashplayer.so status } post_remove() { echo -n "Processing post remove commands..." - rm -f /usr/lib/mozilla/plugins/libflashplayer.so + rm -f \$1/usr/lib/mozilla/plugins/libflashplayer.so + rm -f \$1/opt/google/chrome/plugins/libgcflashplayer.so + rm -f \$1/usr/lib/opera/plugins/libflashplayer.so status } EOT