# HG changeset patch # User Richard Dunbar # Date 1486772642 18000 # Node ID d5999a28461c1a55de4349d917070c9498b2bea8 # Parent 5e6810e4a8601d40f9198726ac6258cbe1feb78b get-flash-plugin: update wget url diff -r 5e6810e4a860 -r d5999a28461c get-flash-plugin/receipt --- a/get-flash-plugin/receipt Fri Feb 10 13:15:17 2017 +0100 +++ b/get-flash-plugin/receipt Fri Feb 10 19:24:02 2017 -0500 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="get-flash-plugin" -VERSION="1.6" +VERSION="1.6.0" CATEGORY="non-free" SHORT_DESC="Get Adobe Flash Player." MAINTAINER="pascal.bellard@slitaz.org" diff -r 5e6810e4a860 -r d5999a28461c get-flash-plugin/stuff/get-flash-plugin --- a/get-flash-plugin/stuff/get-flash-plugin Fri Feb 10 13:15:17 2017 +0100 +++ b/get-flash-plugin/stuff/get-flash-plugin Fri Feb 10 19:24:02 2017 -0500 @@ -20,9 +20,9 @@ tazpkg remove $PACKAGE [ -d $INSTALLED/$PACKAGE ] && exit 1 fi - +VERSION="$(wget -q -O - http://www.adobe.com/software/flash/about/ | sed -n '/Linux/,/<\/tr/s/[^>]*>\([0-9].*\)<.*/\1/p')" TARBALL="flash_player_npapi_linux.i386.tar.gz" -URL="https://fpdownload.macromedia.com/get/flashplayer/current/licensing/linux/$TARBALL" +URL="https://fpdownload.adobe.com/get/flashplayer/pdc/$VERSION/$TARBALL" TMP_DIR="$(mktemp -d)" CUR_DIR=$(pwd) cd $TMP_DIR @@ -34,7 +34,6 @@ fi tar xzf $TARBALL -VERSION="$(strings libflashplayer.so | sed '/FlashPlayer_/!d;s/.*yer_\(.*\)_Flash.*/\1/;s/_/./g')" # Install files chmod 755 libflashplayer.so