aboutsummaryrefslogtreecommitdiff
path: root/sci/electronics/iverilog
diff options
context:
space:
mode:
Diffstat (limited to 'sci/electronics/iverilog')
-rwxr-xr-xsci/electronics/iverilog/iverilog.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sci/electronics/iverilog/iverilog.SlackBuild b/sci/electronics/iverilog/iverilog.SlackBuild
index b23bfaa3..84b0a468 100755
--- a/sci/electronics/iverilog/iverilog.SlackBuild
+++ b/sci/electronics/iverilog/iverilog.SlackBuild
@@ -63,7 +63,7 @@ mkdir -p "$REPOS" || exit $ERROR_MKDIR
SRC="$SRC_NAME-$VERSION.tar.gz"
URL="ftp://ftp.icarus.com/pub/eda/verilog/v0.8/$SRC"
-if [ ! -f "$SRC_DIR/$SRC" ]; then
+if [ ! -f "$SRC_DIR/$SRC" ] || ! gzip -t "$SRC_DIR/$SRC" 2> /dev/null; then
wget "$URL" -O "$SRC_DIR/$SRC" || exit $ERROR_WGET
fi