From: luis Date: Sat, 3 Feb 2007 23:46:39 +0000 (+0000) Subject: generic.SlackBuild v0.3.2 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b5ebc30d00d0aa531908a23b7446d274ef313ae4;p=slackbuilds.git generic.SlackBuild v0.3.2 git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@998 370017ae-e619-0410-ac65-c121f96126d4 --- diff --git a/others/generic/generic.SlackBuild b/others/generic/generic.SlackBuild index 582a9c6f..1f654855 100755 --- a/others/generic/generic.SlackBuild +++ b/others/generic/generic.SlackBuild @@ -1,9 +1,9 @@ -################################################ +################################################### ## Generic template for SlackBuilds ## -## Version 0.3.1 - Luis +## Version 0.3.2 - Luis ( luis at riseup d0t net) ## -################################################ +################################################### #!/bin/bash # # SlackBuild for [[PROGRAM NAME]] @@ -75,7 +75,7 @@ EOKEY SRC="$SRC_NAME-$VERSION.tar.[[SOURCE EXTENSION]]" URL="[[DOWNLOAD FOLDER URL]]/$SRC" -if [ ! -f "$SRC_DIR/$SRC" ]; then +if [ ! -f "$SRC_DIR/$SRC" ] || ! [[SOURCE DECOMPRESSOR]] -t "$SRC_DIR/$SRC"; then wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET fi if [ ! -f "$SRC_DIR/$SRC.sig" ]; then