From 632567f6485bca46119fd2d4cacfbbc81ce3d68b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 17 Oct 2014 14:42:04 -0300 Subject: Adding more downloaders --- semanticscuttle-dl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 semanticscuttle-dl (limited to 'semanticscuttle-dl') diff --git a/semanticscuttle-dl b/semanticscuttle-dl new file mode 100755 index 0000000..c4f1e50 --- /dev/null +++ b/semanticscuttle-dl @@ -0,0 +1,28 @@ +#!/bin/bash +# +# SemanticScuttle simple upgrader. +# + +BASENAME="`basename $0`" +PREVIOUS="$1" +CURRENT="$2" + +if [ -z "$CURRENT" ]; then + echo "usage: $BASENAME " + exit 1 +fi + +wget http://downloads.sourceforge.net/project/semanticscuttle/SemanticScuttle/v0.98/SemanticScuttle-$CURRENT.zip && \ +unzip SemanticScuttle-$CURRENT.zip && \ +rm SemanticScuttle-$CURRENT.zip && \ +cp -a SemanticScuttle-$PREVIOUS/data/config.php SemanticScuttle-$CURRENT/data/ && \ +rm site && \ +ln -s SemanticScuttle-$CURRENT/www site && \ +echo "Audit:" && \ +du -hs SemanticScuttle-$PREVIOUS && \ +du -hs SemanticScuttle-$CURRENT + +if [ -d "patches" ]; then + echo "Check and apply the following patches manually:" + find patches +fi -- cgit v1.2.3