diff options
author | davor <vorgrimmlerdavid@gmx.de> | 2012-12-07 11:51:10 +0100 |
---|---|---|
committer | davor <vorgrimmlerdavid@gmx.de> | 2012-12-07 11:51:10 +0100 |
commit | bbbaa80fe990748cb7232a78ae976b39d2f5d582 (patch) | |
tree | d13de55f35461af3c08bc9d3c4d52cf07afc9b38 /4store-install | |
parent | e741f85148a3a4a7bfa44f573d1494a86e956c2e (diff) |
Select stable 4store version. Make upgrade.
Diffstat (limited to '4store-install')
-rwxr-xr-x | 4store-install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/4store-install b/4store-install index 92414df..a6a02a3 100755 --- a/4store-install +++ b/4store-install @@ -10,11 +10,13 @@ DIR=`pwd` SELF=$(basename $0 -install) check_log $SELF [ "`id -u`" = "0" ] && echo "This script must not be run as root" 1>&2 && exit 1 -check_utils "git make" +check_utils "git make tar wget" # Build cd $OT_PREFIX/tmp/ -([ -d $SELF ] && cd $SELF && cmd="$GIT pull" && run_cmd "$cmd" "Git pull") || (cmd="$GIT clone https://github.com/garlik/$SELF" && run_cmd "$cmd" "Git clone") +cmd="$WGET $FOUR_STORE_DWL" && run_cmd "$cmd" "Download" +cmd="$TAR -xzvf $FOUR_STORE_VER.tar.gz" && run_cmd "$cmd" "Unzip" +mv $OT_PREFIX/tmp/$FOUR_STORE_VER $OT_PREFIX/tmp/$SELF cd $SELF cmd="./autogen.sh" && run_cmd "$cmd" "Autogen" export FST=$OT_PREFIX/4S |