get-scripts diff flash-plugin @ rev 69

palemoon: fix VERSION
author Richard Dunbar <mojo@slitaz.org>
date Fri Jun 16 02:55:30 2017 -0400 (2017-06-16)
parents c2d95308d39b
children
line diff
     1.1 --- a/flash-plugin	Tue Dec 20 01:22:13 2016 -0500
     1.2 +++ b/flash-plugin	Fri Jun 16 02:55:30 2017 -0400
     1.3 @@ -2,12 +2,13 @@
     1.4  WEB_SITE="http://www.adobe.com/products/flash/"
     1.5  # end of get.list data
     1.6  
     1.7 +VERSION="$(wget -q -O - http://www.adobe.com/software/flash/about/ | sed -n '/Linux/,/<\/tr/s/[^>]*>\([0-9].*\)<.*/\1/p')"
     1.8  TARBALL="flash_player_npapi_linux.i386.tar.gz"
     1.9 -WGET_URL=https://fpdownload.macromedia.com/get/flashplayer/current/licensing/linux/$TARBALL
    1.10 +WGET_URL=https://fpdownload.adobe.com/get/flashplayer/pdc/$VERSION/$TARBALL
    1.11  wget --no-check-certificate -O $TARBALL $WGET_URL
    1.12  [ -f $TARBALL ] || abort_package
    1.13  tar xzf $TARBALL
    1.14 -VERSION="$(strings libflashplayer.so | sed '/FlashPlayer_/!d;s/.*yer_\(.*\)_Flash.*/\1/;s/_/./g')"
    1.15 +
    1.16  
    1.17  # Install files
    1.18  chmod 755 libflashplayer.so