From 1c6177b93e444496168138fd53cff34eccb5257b Mon Sep 17 00:00:00 2001 From: Akamaru Date: Mon, 8 Jun 2015 01:51:09 +0200 Subject: [PATCH] Remove disable-extf in launch.sh when lower RAM --- launch.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/launch.sh b/launch.sh index 8b81f27..e71f79f 100755 --- a/launch.sh +++ b/launch.sh @@ -1,7 +1,6 @@ #!/usr/bin/env bash THIS_DIR=$(cd $(dirname $0); pwd) -RAM=`grep MemTotal /proc/meminfo | awk '{print $2}'` cd $THIS_DIR update() { @@ -73,12 +72,7 @@ install_rocks() { install() { git pull git submodule update --init --recursive - # If RAM is lower than 300MB disable extf queries - if [ $RAM -lt 307200 ]; then - cd tg && ./configure --disable-extf && make - else - cd tg && ./configure && make - fi + cd tg && ./configure && make RET=$?; if [ $RET -ne 0 ]; then echo "Error. Exiting."; exit $RET; fi