diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-07-17 08:10:21 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-07-17 08:10:21 +0200 |
commit | 6f799b8fb74e662970f8f5a2112a4a75cbcc5ead (patch) | |
tree | d3b02137db098eaa30c9aab53b8e8a675ac8d26a /install | |
parent | 6359edf1895a258bed93adfd5ebc0d6166121bc1 (diff) |
Updated installermodular
Diffstat (limited to 'install')
-rwxr-xr-x | install | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1,12 +1,7 @@ #!/bin/sh - -# Main OpenTox installer for user installation +# Main Opentox-ruby install script # Author: Christoph Helma, Andreas Maunz -# Creates OT_PREFIX and ~/.opentox (CONFIG). The latter contains OT_UI_CONF (see README). -# Installs shell libraries and installer configuration to support installation of services. -# Installs rbenv to support custom ruby versions for services. - if [ "$(id -u)" = "0" ]; then echo "This script must not be run as root" 1>&2 exit 1 @@ -41,6 +36,7 @@ read delete_me echo echo -n "We need to do some privileged action. " sudo echo -n "" +echo [ -f $OT_PREFIX/install/utils.sh ] || (cmd="mkdir -p $OT_PREFIX/install && cp utils.sh $OT_PREFIX/install" && run_cmd "$cmd" "Install utils.sh to OT_PREFIX") [ -f $HOME/.opentox/config/install/config.sh ] || (cmd="mkdir -p $HOME/.opentox/config/install && cp config.sh $HOME/.opentox/config/install" && run_cmd "$cmd" "Install config.sh to CONFIG (~/.opentox)") |