diff options
author | Carsten Teibes | 2014-06-19 05:07:12 +0200 |
---|---|---|
committer | Carsten Teibes | 2014-06-19 05:07:12 +0200 |
commit | 23fbfb25207e71508c02ffd5252a865481e4a071 (patch) | |
tree | f3446b0c26fbbc8683dc5566f810edd710fb665b /theme-hospital-gog.sh | |
download | aur-23fbfb25207e71508c02ffd5252a865481e4a071.tar.gz |
[add] theme-hospital-gog 2.0.0.5
Diffstat (limited to 'theme-hospital-gog.sh')
-rw-r--r-- | theme-hospital-gog.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/theme-hospital-gog.sh b/theme-hospital-gog.sh new file mode 100644 index 000000000000..7234b4fc8869 --- /dev/null +++ b/theme-hospital-gog.sh @@ -0,0 +1,29 @@ +#!/bin/bash +# +# simple launcher by carstene1ns 2014 +# + +# get script name +script=${0##*/} + +# get game mode +mode=${script#theme-hospital-} + +case "$mode" in + client) + EXTRACONF=dosboxth_client.conf + ;; + server) + EXTRACONF=dosboxth_server.conf + ;; + settings) + EXTRACONF=dosboxth_settings.conf + ;; + *) + EXTRACONF=dosboxth_single.conf +esac + +# launch +cd /opt/theme-hospital && exec dosbox -conf dosboxth.conf -conf $EXTRACONF + +# eof |