wok view get-pcem-roms/stuff/get-pcem-roms @ rev 23840

Up libsdl2-image (2.0.5), radare2 (4.4.0), screen (4.8.0), sleuthkit (4.9.0), thunderbird-bin (68.9.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 04 16:22:12 2020 +0000 (2020-06-04)
parents 10c5947d7b5c
children 9849335f0b73
line source
1 #!/bin/sh
3 VERSION="15.0"
4 WEB_SITE="https://github.com/BaRRaKudaRain/PCem-ROMs"
5 ARCHIVE="$WEB_SITE/archive/v$VERSION.tar.gz"
7 mv -f /home/$USER/.pcem/roms /home/$USER/.pcem/roms-old ||
8 mkdir -p /home/$USER/.pcem
9 wget -O - $ARCHIVE | tar xzf - -C /home/$USER/.pcem/
10 mv /home/$USER/.pcem/PCem-ROMs-$VERSION /home/$USER/.pcem/roms
11 chown -R $USER.users /home/$USER/.pcem