summaryrefslogtreecommitdiff
path: root/utils.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2012-03-29 12:00:57 +0200
committerAndreas Maunz <andreas@maunz.de>2012-03-29 12:00:57 +0200
commite3d497014dbb24e0e2b4beee55c8221bc1fe3141 (patch)
tree127c5480d6b2e5ebd2e2f093b943be365e648f3d /utils.sh
parent3e2a76c4460ce16059430f6ede1feedecfea265a (diff)
Improved user experience
Diffstat (limited to 'utils.sh')
-rwxr-xr-xutils.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils.sh b/utils.sh
index 8b5bbd0..8a41433 100755
--- a/utils.sh
+++ b/utils.sh
@@ -1,5 +1,11 @@
#!/bin/sh
+# Shell library for service installation and general tools
+# Author: Christoph Helma, Andreas Maunz
+
+# Functions to install ruby and install services with bundler.
+# Ensures presence of ~/.opentox (CONFIG) and OT_PREFIX.
+
check_dest()
{
[ -d "$OT_PREFIX/tmp" ] || mkdir -p "$OT_PREFIX/tmp"
@@ -69,3 +75,4 @@ fi
check_dest
touch "$OT_UI_CONF"
. "$OT_UI_CONF" 2>/dev/null
+