From 7b319e92329bcda449c89c8e4202b7eb81472bd3 Mon Sep 17 00:00:00 2001 From: gebele Date: Fri, 8 May 2015 13:42:55 +0200 Subject: fixed 4store version 1.1.5 --- 4store-install | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/4store-install b/4store-install index 4f70582..c343d4f 100755 --- a/4store-install +++ b/4store-install @@ -14,11 +14,12 @@ 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") -cd $SELF -#cmd="$GIT checkout -b ist c3d8593c39dc04a39e272f729e486c1576f6aeba" && run_cmd "$cmd" "checkout to particular commit" -cmd="./autogen.sh" && run_cmd "$cmd" "Autogen" +cmd="$WGET $FOUR_STORE_URL/$FOUR_STORE_VER.tar.gz" && run_cmd "$cmd" "Download" export FST=$OT_PREFIX/4S +cmd="$TAR xvzf $FOUR_STORE_VER.tar.gz" && run_cmd "$cmd" "Unpack" +rm $FOUR_STORE_VER.tar.gz +cd $FOUR_STORE_VER +cmd="./autogen.sh" && run_cmd "$cmd" "Autogen" cmd="./configure --enable-dedup-insert --prefix=$FST --exec-prefix=$FST --with-storage-path=$FST/var/lib --with-config-file=$FST/$SELF.conf -with-http-log=$FST/log CFLAGS=-O2 CPPFLAGS=-O3" && run_cmd "$cmd" "Configure" cmd="make" && run_cmd "$cmd" "Make" cmd="make install" && run_cmd "$cmd" "Make Install" -- cgit v1.2.3