updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / daphne / daphne.sh
blobcb1a4597e96b3d01cacf461bbf931e2a6b47de50
1 #!/bin/sh
3 if [ ! -e $HOME/.daphne ]; then
4 echo "Running Daphne for the first time..."
5 echo "Copy your framefiles/roms/mpegs to the corresponding folders"
6 echo "within $HOME/.daphne and reference them from the command-line."
7 echo "Ex: daphne lair vldp -framefile '~/.daphne/framefile/lair.txt'"
8 mkdir $HOME/.daphne
9 mkdir $HOME/.daphne/{roms,mpegs}
10 cp -R /usr/share/daphne/roms/* $HOME/.daphne/roms/
11 cd /usr/share/daphne
12 ./daphne "$@"
13 else
14 cd /usr/share/daphne
15 ./daphne "$@"