wok-6.x rev 19679
get-flash-plugin: update wget url
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Feb 10 19:24:02 2017 -0500 (2017-02-10) |
parents | 5e6810e4a860 |
children | 108e53fb3bce |
files | get-flash-plugin/receipt get-flash-plugin/stuff/get-flash-plugin |
line diff
1.1 --- a/get-flash-plugin/receipt Fri Feb 10 13:15:17 2017 +0100 1.2 +++ b/get-flash-plugin/receipt Fri Feb 10 19:24:02 2017 -0500 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="get-flash-plugin" 1.7 -VERSION="1.6" 1.8 +VERSION="1.6.0" 1.9 CATEGORY="non-free" 1.10 SHORT_DESC="Get Adobe Flash Player." 1.11 MAINTAINER="pascal.bellard@slitaz.org"
2.1 --- a/get-flash-plugin/stuff/get-flash-plugin Fri Feb 10 13:15:17 2017 +0100 2.2 +++ b/get-flash-plugin/stuff/get-flash-plugin Fri Feb 10 19:24:02 2017 -0500 2.3 @@ -20,9 +20,9 @@ 2.4 tazpkg remove $PACKAGE 2.5 [ -d $INSTALLED/$PACKAGE ] && exit 1 2.6 fi 2.7 - 2.8 +VERSION="$(wget -q -O - http://www.adobe.com/software/flash/about/ | sed -n '/Linux/,/<\/tr/s/[^>]*>\([0-9].*\)<.*/\1/p')" 2.9 TARBALL="flash_player_npapi_linux.i386.tar.gz" 2.10 -URL="https://fpdownload.macromedia.com/get/flashplayer/current/licensing/linux/$TARBALL" 2.11 +URL="https://fpdownload.adobe.com/get/flashplayer/pdc/$VERSION/$TARBALL" 2.12 TMP_DIR="$(mktemp -d)" 2.13 CUR_DIR=$(pwd) 2.14 cd $TMP_DIR 2.15 @@ -34,7 +34,6 @@ 2.16 fi 2.17 2.18 tar xzf $TARBALL 2.19 -VERSION="$(strings libflashplayer.so | sed '/FlashPlayer_/!d;s/.*yer_\(.*\)_Flash.*/\1/;s/_/./g')" 2.20 2.21 # Install files 2.22 chmod 755 libflashplayer.so