Skip to content

Commit

Permalink
auto-script
Browse files Browse the repository at this point in the history
  • Loading branch information
retrobrews authored Sep 10, 2018
1 parent bc45ad5 commit f1272eb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions cv-roms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ echo "======================================================================="
echo ""
sleep 2

cd /home/pi/RetroPie/roms/coleco

cd /home/pi/RetroPie/roms
if [ ! -d "coleco" ]; then
mkdir coleco
fi
cd coleco
###CLEAN EVERYTHING!
rm -rf *.*

Expand Down Expand Up @@ -64,7 +69,11 @@ echo "======================================================================="
echo ""
sleep 2
cd ~
cd /home/pi/.emulationstation/gamelists/coleco/
cd /home/pi/.emulationstation/gamelists/
if [ ! -d "coleco" ]; then
mkdir coleco
fi
cd coleco
rm gamelist.xml
mv /home/pi/RetroPie/roms/coleco/gamelist.xml /home/pi/.emulationstation/gamelists/coleco > /dev/null
sleep 2
Expand Down

0 comments on commit f1272eb

Please sign in to comment.