get-scripts view 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 source
1 WEB_SITE="https://www.plop.at/en/bootmanager/index.html"
2 SHORT_DESC="USB boot loader."
3 # end of get.list data
5 WGET_URL="$(wget -O - https://www.plop.at/en/bootmanager/download.html | \
6 sed '/plpbt/!d/href/!d;s/.*href="*\([^ "]*\).*/\1/;q')"
7 TARBALL="$(basename $WGET_URL)"
8 VERSION="$(echo $TARBALL | sed 's/.*-\([0-9\.]*\)*.zip/\1/')"
9 wget $WGET_URL
10 [ -f $TARBALL ] || abort_package
11 unzip $TARBALL
12 [ -s plpbt*/plpbt.bin ] &&
13 mkdir -p $PACKAGE-$VERSION/fs/usr/share/boot &&
14 cp plpbt*/plpbt.bin $PACKAGE-$VERSION/fs/usr/share/boot