diff options
Diffstat (limited to 'app')
-rwxr-xr-x | app/crypt/gnupg2/gnupg2.SlackBuild | 2 |
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 |