aboutsummaryrefslogtreecommitdiff
path: root/dev/libs/libksba/libksba.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev/libs/libksba/libksba.SlackBuild')
-rwxr-xr-xdev/libs/libksba/libksba.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/libs/libksba/libksba.SlackBuild b/dev/libs/libksba/libksba.SlackBuild
index 7a678abc..2b783b40 100755
--- a/dev/libs/libksba/libksba.SlackBuild
+++ b/dev/libs/libksba/libksba.SlackBuild
@@ -80,7 +80,7 @@ EOKEY
SRC="$SRC_NAME-$VERSION.tar.bz2"
URL="ftp://ftp.gnupg.org/gcrypt/libksba/$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