slackbuilds/xap/update-flashplayer-plugin.sh
Gwenhael Le Moine dda0b9a727 add nextcloudclient and move owncloudclient to unused
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
2016-08-25 19:12:27 +02:00

10 lines
572 B
Bash
Executable file

#!/bin/sh
LATEST_VERSION=$(wget -c "https://get.adobe.com/fr/flashplayer/download/?installer=Flash_Player_11.2_for_other_Linux_(.tar.gz)_64-bit&standalone=1" -O - | grep -o "https://fpdownload.adobe.com/get/flashplayer/pdc/[0-9.]*/install_flash_player_11_linux.x86_64.tar.gz" | grep -o "/[0-9.]*/" | tr -d / | grep -v "^$")
cd /home/installs/mirrors/slackware64-current/extra/flashplayer-plugin
VERSION=$LATEST_VERSION ./flashplayer-plugin.SlackBuild
rm install_flash_player*.tar.gz
upgradepkg --install-new --reinstall /tmp/flashplayer-plugin-*.txz
/root/clean-tmp.sh