aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rwxr-xr-xsys/apps/microcode_ctl/microcode_ctl.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
index 6f13b586..7b69001c 100755
--- a/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
+++ b/sys/apps/microcode_ctl/microcode_ctl.SlackBuild
@@ -47,7 +47,7 @@ mkdir -p "$REPOS" || exit $ERROR_MKDIR
SRC="$SRC_NAME-$VERSION.tar.gz"
URL="http://urbanmyth.org/microcode/$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