aboutsummaryrefslogtreecommitdiff
path: root/others/generic
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-03 23:46:39 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-03 23:46:39 +0000
commitb5ebc30d00d0aa531908a23b7446d274ef313ae4 (patch)
tree2e740f1ddd9e3c42d80f708a56567354a0be9cd5 /others/generic
parent2078e42ce849b3bc344c2b11c0677e1c68259f34 (diff)
downloadslackbuilds-b5ebc30d00d0aa531908a23b7446d274ef313ae4.tar.gz
slackbuilds-b5ebc30d00d0aa531908a23b7446d274ef313ae4.tar.bz2
generic.SlackBuild v0.3.2
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@998 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'others/generic')
-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