summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavor <vorgrimmlerdavid@gmx.de>2012-08-16 18:47:19 +0200
committerdavor <vorgrimmlerdavid@gmx.de>2012-08-16 18:47:19 +0200
commitf68801665dd06144c5e16f1d57b330790b3bb70a (patch)
treea969ee821d97c4e3e2ab0085e7977a138ec273e6
parent53c61cdc1c032f80748b102f5aeb87a306da0d86 (diff)
Added functions from utils.sh
-rwxr-xr-xbin/opentox-server-install17
1 files changed, 2 insertions, 15 deletions
diff --git a/bin/opentox-server-install b/bin/opentox-server-install
index e9d10e3..4c6504a 100755
--- a/bin/opentox-server-install
+++ b/bin/opentox-server-install
@@ -30,11 +30,8 @@ RUBY_DIR="$HOME/.rbenv/versions/$RUBY_NUM_VER"
# # # Install
-LOG="$OT_PREFIX/tmp/`basename $0`.log"
check_utils "rbenv find"
-echo
-echo "Installation ('$LOG'):"
-echo
+check_log $SELF
if [ "$OT_BRANCH" = "development" ]; then
cmd="test -d $OT_PREFIX/opentox-client" && run_cmd "$cmd" "Opentox-client"
@@ -47,17 +44,7 @@ fi
echo
install_with_bundler
-echo
-echo "Installation finished."
-echo
-echo "IMPORTANT: How to configure your system:"
-echo "IMPORTANT: a) Include '$OT_UI_CONF' in shell startup (e.g. ~/.bashrc)."
-echo "IMPORTANT: b) Manually source '$OT_UI_CONF' every time."
-echo "IMPORTANT: The command in both cases: '. $OT_UI_CONF'"
-echo "IMPORTANT: NOW would be the best time to configure!"
-echo
-echo "Thank you for your attention."
-echo
+notify
# return to wd
cd "$DIR"