wok rev 24091

get-pcem-roms: version less
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 17 19:56:00 2021 +0000 (2021-07-17)
parents 1e9cc0eb1d17
children 01737061adb0
files get-pcem-roms/stuff/get-pcem-roms rsh/receipt
line diff
     1.1 --- a/get-pcem-roms/stuff/get-pcem-roms	Mon Jul 12 17:43:25 2021 +0000
     1.2 +++ b/get-pcem-roms/stuff/get-pcem-roms	Sat Jul 17 19:56:00 2021 +0000
     1.3 @@ -1,11 +1,10 @@
     1.4  #!/bin/sh
     1.5  
     1.6 -VERSION="15.0"
     1.7  WEB_SITE="https://github.com/BaRRaKudaRain/PCem-ROMs"
     1.8 -ARCHIVE="$WEB_SITE/archive/v$VERSION.tar.gz"
     1.9 +ARCHIVE="https://github.com$(wget -O - $WEB_SITE/releases | sed '/.tar.gz/!d;s|.*href="||;s|" .*||;q')"
    1.10  
    1.11  mv -f /home/$USER/.pcem/roms /home/$USER/.pcem/roms-old ||
    1.12  mkdir -p /home/$USER/.pcem
    1.13  wget -O - $ARCHIVE | tar xzf - -C /home/$USER/.pcem/
    1.14 -mv /home/$USER/.pcem/PCem-ROMs-$VERSION /home/$USER/.pcem/roms
    1.15 +mv /home/$USER/.pcem/PCem-ROMs-* /home/$USER/.pcem/roms
    1.16  chown -R $USER.users /home/$USER/.pcem
     2.1 --- a/rsh/receipt	Mon Jul 12 17:43:25 2021 +0000
     2.2 +++ b/rsh/receipt	Sat Jul 17 19:56:00 2021 +0000
     2.3 @@ -7,7 +7,7 @@
     2.4  MAINTAINER="pascal.bellard@slitaz.org"
     2.5  LICENSE="BSD"
     2.6  TARBALL="netkit-$PACKAGE-$VERSION.tar.gz"
     2.7 -WEB_SITE="http://ftp.linux.org.uk/pub/linux/Networking/netkit/"
     2.8 +WEB_SITE="https://web.archive.org/web/20201216144539/http://ftp.linux.org.uk/pub/linux/Networking/netkit/"
     2.9  WGET_URL="http://ibiblio.org/pub/linux/system/network/netkit/$TARBALL"
    2.10  PROVIDE="rshd netkit-rsh"
    2.11