wok annotate get-pcem-roms/stuff/get-pcem-roms @ rev 22204

linld: 8086 may load zImage (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 11 12:29:56 2019 +0100 (2019-11-11)
parents 10c5947d7b5c
children 9849335f0b73
rev   line source
pascal@21920 1 #!/bin/sh
pascal@21920 2
pascal@21920 3 VERSION="15.0"
pascal@21920 4 WEB_SITE="https://github.com/BaRRaKudaRain/PCem-ROMs"
pascal@21920 5 ARCHIVE="$WEB_SITE/archive/v$VERSION.tar.gz"
pascal@21920 6
pascal@21922 7 mv -f /home/$USER/.pcem/roms /home/$USER/.pcem/roms-old ||
pascal@21922 8 mkdir -p /home/$USER/.pcem
pascal@21920 9 wget -O - $ARCHIVE | tar xzf - -C /home/$USER/.pcem/
pascal@21920 10 mv /home/$USER/.pcem/PCem-ROMs-$VERSION /home/$USER/.pcem/roms
pascal@21920 11 chown -R $USER.users /home/$USER/.pcem