diff options
author | Andreas Maunz <andreas@maunz.de> | 2011-04-07 09:10:22 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2011-04-07 09:10:22 +0200 |
commit | 1307fdcb4a3b52d02adad017a654911bfe973991 (patch) | |
tree | 870af06d228d1563ec86ec25924428450a674df2 | |
parent | 26a6fb6e8fe83a3f2526025c812b87cf61a326ab (diff) |
Fixed RUBYLIB
-rw-r--r-- | README | 11 | ||||
-rwxr-xr-x | openbabel.sh | 2 |
2 files changed, 7 insertions, 6 deletions
@@ -1,13 +1,14 @@ -It is assumed that your system is configured for sudo to gain root privileges. -It is assumed that your system is configured for using non-free packages. +POSIX compatible Installer for OpenTox IST/ALU Services +======================================================= -Installer for OpenTox IST/ALU Services -====================================== +A) It is assumed that your system is configured for sudo to gain root privileges. +B) It is assumed that your system is configured for using non-free packages. Usage ----- -tested with Debian Squeeze, might work for Ubuntu and other Debian based distributions. +Tested with Debian Squeeze (6.0.1), might work for Ubuntu and other Debian based distributions. + git clone http://github.com/opentox/install.git cd install diff --git a/openbabel.sh b/openbabel.sh index 4fc5679..40c34ec 100755 --- a/openbabel.sh +++ b/openbabel.sh @@ -57,7 +57,7 @@ if [ ! -f "$OB_CONF" ]; then echo "if echo \"\$LD_LIBRARY_PATH\" | grep -v \"$OB_DEST\">/dev/null 2>&1; then export LD_LIBRARY_PATH=\"$OB_DEST/lib:\$LD_LIBRARY_PATH\"; fi" >> "$OB_CONF" echo "if [ -z \"\$BABEL_LIBDIR\" ]; then export BABEL_LIBDIR=\"$OB_DEST/lib/openbabel/2.3.0\"; fi" >> "$OB_CONF" echo "if [ -z \"\$BABEL_DATADIR\" ]; then export BABEL_DATADIR=\"$OB_DEST/share/openbabel/2.3.0\"; fi" >> "$OB_CONF" - echo "if [ -z \"\$RUBYLIB\" ]; then export RUBYLIB=\"$OB_DEST_BINDINGS\"; fi" >> "$RUBY_CONF" + echo "if echo \"\$RUBYLIB | grep -v \"$OB_DEST_BINDINGS\">/dev/null 2>&1; then export RUBYLIB=\"$OB_DEST_BINDINGS:\$RUBYLIB\"; fi" >> "$RUBY_CONF" echo "Openbabel configuration has been stored in '$OB_CONF'." if ! grep "$OB_CONF" $OT_UI_CONF >/dev/null 2>&1 ; then |