diff options
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 |