diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-03-23 09:29:39 +0100 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-03-23 09:29:39 +0100 |
commit | bdf70a32e1c711623921f6c5c90868d791b3e591 (patch) | |
tree | 3ef702cd8a6f1bceff5dd119cd47b41ea99d19c1 /install | |
parent | 6568fb04b16e12e29fba0b8ec3287d024d5fc37a (diff) |
mv TMP dir OT_PREFIX
Diffstat (limited to 'install')
-rwxr-xr-x | install | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -13,7 +13,7 @@ echo "Note: Your data will be backupped." read help_var echo -mkdir -p $HOME/tmp/ >/dev/null 2>&1 +mkdir -p $OT_PREFIX/tmp/ >/dev/null 2>&1 DATE=`date +_%Y%m%d_%H_%M` if [ -f "$HOME/.opentox-ui.sh" ] then @@ -33,7 +33,7 @@ then else echo "$HOME/opentox-ruby not found (nothing to backup)." fi -LOG="$HOME/tmp/`basename $0`-log.txt" +LOG="$OT_PREFIX/tmp/`basename $0`-log.txt" . "./utils.sh" echo echo "Opentox-ruby installation." @@ -41,11 +41,11 @@ echo "You may need to give root password for some privileged actions right now a echo cmd="sudo echo -n \"\"" && run_cmd "$cmd" "Acquire privileges" -echo "Cleaning up $HOME/tmp files." -rm -rf $HOME/tmp/openbabel* $HOME/tmp/kernlab* $HOME/tmp/ruby* +echo "Cleaning up $OT_PREFIX/tmp files." +rm -rf $OT_PREFIX/tmp/openbabel* $OT_PREFIX/tmp/kernlab* $OT_PREFIX/tmp/ruby* . "./base-install.sh" -#. "./openbabel.sh" +. "./openbabel.sh" echo echo "Installation finished and system configured." |