get-scripts view plop @ rev 78

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 09:13:38 2019 +0100 (2019-02-26)
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