summarylogtreecommitdiffstats
path: root/catacombsdl.sh
diff options
context:
space:
mode:
authorCarsten Teibes2014-08-16 07:24:01 +0200
committerCarsten Teibes2014-08-16 07:24:01 +0200
commit24c2903d209e04ea3dcbf4aef411f1e09b13eb09 (patch)
tree161975f0144463765b21fd49bb776b16c342c7a4 /catacombsdl.sh
downloadaur-24c2903d209e04ea3dcbf4aef411f1e09b13eb09.tar.gz
[add] catacombsdl 1.03
Diffstat (limited to 'catacombsdl.sh')
-rw-r--r--catacombsdl.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/catacombsdl.sh b/catacombsdl.sh
new file mode 100644
index 000000000000..33dc11aa8d23
--- /dev/null
+++ b/catacombsdl.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+#
+# CatacombSDL launcher // carstene1ns 2014
+#
+# Does some juggling with the path to help finding the data files
+
+[ ! -d $HOME/.catacombsdl ] && mkdir -p $HOME/.catacombsdl
+
+if [ -f $HOME/.catacombsdl/LEVEL1.CA2 ]; then
+
+ cd $HOME/.catacombsdl && exec /usr/share/catacombsdl/catacomb "$@"
+
+else
+
+ echo "Please place 'The Catacomb' / 'Catacomb II' data files in \"~/.catacombsdl\"."
+
+fi