summarylogtreecommitdiffstats
path: root/daphne.sh
diff options
context:
space:
mode:
authorMarco Pompili2015-06-13 15:32:42 +0200
committerMarco Pompili2015-06-13 15:32:42 +0200
commit068df33fc0b2558e029cc84b54fc0eecde45cc84 (patch)
treec0fbd298ffe41cb54ff76424b5deb51c0bd1103d /daphne.sh
downloadaur-068df33fc0b2558e029cc84b54fc0eecde45cc84.tar.gz
Initial import
Diffstat (limited to 'daphne.sh')
-rwxr-xr-xdaphne.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/daphne.sh b/daphne.sh
new file mode 100755
index 00000000000..e7d3d7131d2
--- /dev/null
+++ b/daphne.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+if [ ! -e $HOME/.daphne ]; then
+ echo "Running Daphne for the first time..."
+ echo "Copy your framefiles/roms/mpegs to the corresponding folders"
+ echo "within $HOME/.daphne and reference them from the command-line."
+ echo "Ex: daphne lair vldp -framefile '~/.daphne/framefile/lair.txt'"
+ mkdir $HOME/.daphne
+ mkdir $HOME/.daphne/{roms,mpegs}
+ cp -R /usr/share/daphne/roms/* $HOME/.daphne/roms/
+ cd /usr/share/daphne
+ ./daphne "$@"
+else
+ export PATH=/usr/share/daphne:$PATH
+ cd /usr/share/daphne
+ ./daphne "$@"
+fi