aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-05 01:21:50 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-05 01:21:50 +0000
commit8c187c4a1e7aba382c11657f16e413b0622f0da4 (patch)
tree640374ca50c239378348230e9817bae1dc475d02 /app
parentd1b64a1c5cc1c933810c51f7296a739dd669b645 (diff)
downloadslackbuilds-8c187c4a1e7aba382c11657f16e413b0622f0da4.tar.gz
slackbuilds-8c187c4a1e7aba382c11657f16e413b0622f0da4.tar.bz2
Syncing with generic.SlackBuild v0.3.4
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1008 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app')
-rwxr-xr-xapp/crypt/gnupg2/gnupg2.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/crypt/gnupg2/gnupg2.SlackBuild b/app/crypt/gnupg2/gnupg2.SlackBuild
index 8f0304d7..80f3cf30 100755
--- a/app/crypt/gnupg2/gnupg2.SlackBuild
+++ b/app/crypt/gnupg2/gnupg2.SlackBuild
@@ -80,10 +80,10 @@ EOKEY
SRC="$SRC_NAME-$VERSION.tar.bz2"
URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$SRC"
-if [ ! -f "$SRC_DIR/$SRC" ] || ! bzip2 -t "$SRC_DIR/$SRC" 2> /dev/null; then
+if [ ! -s "$SRC_DIR/$SRC" ] || ! bzip2 -t "$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