get-scripts diff plop @ rev 80

libreoffice: fix menu entries (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 09 11:40:00 2019 +0200 (2019-06-09)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/plop	Sun Jun 09 11:40:00 2019 +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