]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
generic.SlackBuild v0.3.2
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>
Sat, 3 Feb 2007 23:46:39 +0000 (23:46 +0000)
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>
Sat, 3 Feb 2007 23:46:39 +0000 (23:46 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@998 370017ae-e619-0410-ac65-c121f96126d4

others/generic/generic.SlackBuild

index 582a9c6fd46ac186a5ac5afd5cb88cae36bc9826..1f654855df5f520fddd58defebae2410e8e0255c 100755 (executable)
@@ -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