aboutsummaryrefslogtreecommitdiff
path: root/app/crypt/gnupg2
diff options
context:
space:
mode:
authorluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-04 01:53:33 +0000
committerluis <luis@370017ae-e619-0410-ac65-c121f96126d4>2007-02-04 01:53:33 +0000
commit98ea8c3164dcd0990922ddc56de19fa5648e440c (patch)
tree1cefdf18d8997705311d80bf086d68d0ebaf3e12 /app/crypt/gnupg2
parent5f3f71e558274240efbfa354694f1518fc8e6a2d (diff)
downloadslackbuilds-98ea8c3164dcd0990922ddc56de19fa5648e440c.tar.gz
slackbuilds-98ea8c3164dcd0990922ddc56de19fa5648e440c.tar.bz2
Syncing with generic.SlackBuild
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1002 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'app/crypt/gnupg2')
-rwxr-xr-xapp/crypt/gnupg2/gnupg2.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/crypt/gnupg2/gnupg2.SlackBuild b/app/crypt/gnupg2/gnupg2.SlackBuild
index 2c854a6c..8f0304d7 100755
--- a/app/crypt/gnupg2/gnupg2.SlackBuild
+++ b/app/crypt/gnupg2/gnupg2.SlackBuild
@@ -80,7 +80,7 @@ EOKEY
SRC="$SRC_NAME-$VERSION.tar.bz2"
URL="ftp://ftp.gnupg.org/gcrypt/gnupg/$SRC"
-if [ ! -f "$SRC_DIR/$SRC" ]; then
+if [ ! -f "$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