diff options
author | Carsten Teibes | 2015-04-04 04:23:31 +0200 |
---|---|---|
committer | Carsten Teibes | 2015-04-04 04:23:31 +0200 |
commit | 2440177b330be57429752b894f7f4fdb21c80d7e (patch) | |
tree | 0c36bd27cf7c907e56bcb71755f5b72bdaa43d48 /woahdave-hib.sh | |
download | aur-woahdave-hib.tar.gz |
[add] woahdave-hib 20141105
Diffstat (limited to 'woahdave-hib.sh')
-rw-r--r-- | woahdave-hib.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/woahdave-hib.sh b/woahdave-hib.sh new file mode 100644 index 000000000000..349fdb68fb7d --- /dev/null +++ b/woahdave-hib.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# +# launcher for Woah Dave by carstene1ns 2015 +# + +# create jail folder +mkdir -p "$HOME"/.mutekicorp/WoahDave + +# link data, if needed +if [ ! -L "$HOME"/.mutekicorp/WoahDave/Bundle ]; then + ln -s /opt/woahdave/Bundle "$HOME"/.mutekicorp/WoahDave +fi + +# change to game dir and launch +cd "$HOME"/.mutekicorp/WoahDave && exec /opt/woahdave/WoahDave "$@" + +# eof |