diff options
Diffstat (limited to 'sci/electronics/iverilog')
-rwxr-xr-x | sci/electronics/iverilog/iverilog.SlackBuild | 2 |
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 |