summarylogtreecommitdiffstats
path: root/woahdave-hib.sh
diff options
context:
space:
mode:
authorCarsten Teibes2015-04-04 04:23:31 +0200
committerCarsten Teibes2015-04-04 04:23:31 +0200
commit2440177b330be57429752b894f7f4fdb21c80d7e (patch)
tree0c36bd27cf7c907e56bcb71755f5b72bdaa43d48 /woahdave-hib.sh
downloadaur-woahdave-hib.tar.gz
[add] woahdave-hib 20141105
Diffstat (limited to 'woahdave-hib.sh')
-rw-r--r--woahdave-hib.sh17
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