aboutsummaryrefslogtreecommitdiff
path: root/others/generic/generic.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'others/generic/generic.SlackBuild')
-rwxr-xr-xothers/generic/generic.SlackBuild8
1 files changed, 4 insertions, 4 deletions
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