diff options
author | Carsten Teibes | 2014-08-16 07:24:01 +0200 |
---|---|---|
committer | Carsten Teibes | 2014-08-16 07:24:01 +0200 |
commit | 24c2903d209e04ea3dcbf4aef411f1e09b13eb09 (patch) | |
tree | 161975f0144463765b21fd49bb776b16c342c7a4 /catacombsdl.sh | |
download | aur-catacombsdl.tar.gz |
[add] catacombsdl 1.03
Diffstat (limited to 'catacombsdl.sh')
-rw-r--r-- | catacombsdl.sh | 17 |
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 |