aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-05 01:12:25 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-05 01:12:25 +0000
commitd1b64a1c5cc1c933810c51f7296a739dd669b645 (patch)
tree35fcf240286643846476e8b64da00a79358656b2
parentabc4b4bd194b81aa7a251dbc310418e96b0a974d (diff)
downloadslackbuilds-d1b64a1c5cc1c933810c51f7296a739dd669b645.tar.gz
slackbuilds-d1b64a1c5cc1c933810c51f7296a739dd669b645.tar.bz2
generic.SlackBuild v0.3.4
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1007 370017ae-e619-0410-ac65-c121f96126d4
-rwxr-xr-xothers/generic/generic.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/others/generic/generic.SlackBuild b/others/generic/generic.SlackBuild
index 15ecad38..f48f154c 100755
--- a/others/generic/generic.SlackBuild
+++ b/others/generic/generic.SlackBuild
@@ -1,7 +1,7 @@
###################################################
## Generic template for SlackBuilds
##
-## Version 0.3.3 - Luis ( luis at riseup d0t net)
+## Version 0.3.4 - Luis ( luis at riseup d0t net)
##
###################################################
#!/bin/bash
@@ -75,10 +75,10 @@ EOKEY
SRC="$SRC_NAME-$VERSION.tar.[[SOURCE EXTENSION]]"
URL="[[DOWNLOAD FOLDER URL]]/$SRC"
-if [ ! -f "$SRC_DIR/$SRC" ] || ! [[DECOMPRESSOR]] [[DECOMPRESSOR TEST FLAG]] "$SRC_DIR/$SRC" 2> /dev/null; then
+if [ ! -s "$SRC_DIR/$SRC" ] || ! [[DECOMPRESSOR]] [[DECOMPRESSOR TEST FLAG]] "$SRC_DIR/$SRC" 2> /dev/null; then
wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
fi
-if [ ! -f "$SRC_DIR/$SRC.sig" ]; then
+if [ ! -s "$SRC_DIR/$SRC.sig" ]; then
wget "$URL.sig" -O "$SRC_DIR/$SRC.sig" || exit $ERROR_WGET
fi