wok diff get-pcem-roms/stuff/get-pcem-roms @ rev 23954
updated smplayer (20.4.2 -> 20.6.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Sep 22 17:05:06 2020 +0100 (2020-09-22) |
parents | 10c5947d7b5c |
children | 9849335f0b73 |
line diff
1.1 --- a/get-pcem-roms/stuff/get-pcem-roms Sat Oct 05 16:15:48 2019 +0200 1.2 +++ b/get-pcem-roms/stuff/get-pcem-roms Tue Sep 22 17:05:06 2020 +0100 1.3 @@ -4,8 +4,8 @@ 1.4 WEB_SITE="https://github.com/BaRRaKudaRain/PCem-ROMs" 1.5 ARCHIVE="$WEB_SITE/archive/v$VERSION.tar.gz" 1.6 1.7 -mkdir -p /home/$USER/.pcem 2> /dev/null || 1.8 -mv /home/$USER/.pcem/roms /home/$USER/.pcem/roms-old 1.9 +mv -f /home/$USER/.pcem/roms /home/$USER/.pcem/roms-old || 1.10 +mkdir -p /home/$USER/.pcem 1.11 wget -O - $ARCHIVE | tar xzf - -C /home/$USER/.pcem/ 1.12 mv /home/$USER/.pcem/PCem-ROMs-$VERSION /home/$USER/.pcem/roms 1.13 chown -R $USER.users /home/$USER/.pcem