get-scripts diff plop @ rev 73
opera: update URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 27 14:58:46 2017 +0200 (2017-09-27) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/plop Wed Sep 27 14:58:46 2017 +0200 1.3 @@ -0,0 +1,14 @@ 1.4 +WEB_SITE="https://www.plop.at/en/bootmanager/index.html" 1.5 +SHORT_DESC="USB boot loader." 1.6 +# end of get.list data 1.7 + 1.8 +WGET_URL="$(wget -O - https://www.plop.at/en/bootmanager/download.html | \ 1.9 + sed '/plpbt/!d/href/!d;s/.*href="*\([^ "]*\).*/\1/;q')" 1.10 +TARBALL="$(basename $WGET_URL)" 1.11 +VERSION="$(echo $TARBALL | sed 's/.*-\([0-9\.]*\)*.zip/\1/')" 1.12 +wget $WGET_URL 1.13 +[ -f $TARBALL ] || abort_package 1.14 +unzip $TARBALL 1.15 +[ -s plpbt*/plpbt.bin ] && 1.16 +mkdir -p $PACKAGE-$VERSION/fs/usr/share/boot && 1.17 +cp plpbt*/plpbt.bin $PACKAGE-$VERSION/fs/usr/share/boot