aboutsummaryrefslogtreecommitdiff
path: root/sci/electronics/iverilog
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 /sci/electronics/iverilog
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 '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