Package: microcode.ctl
Version: 1.17-9
The update-intel-microcode script contains the following:
LOCAL_DIR=/usr/share/misc
LOCAL_FILE="$LOCAL_DIR/intel-microcode.dat"
case "$REMOTE_FILE" in
*.tgz | *.tar.gz ) FILTER=" tar xzOf - " ;;
*.dat.gz ) FILTER=" gzip -cd " ;;
* ) FILTER=" cat - " ;;
esac
if wget -t 2 -T 20 -nv -q -O - "$REMOTE_FILE" | $FILTER > "$LOCAL_FILE" ; then
echo "microcode downloaded sucessfully" 1>&2
else
echo "Error on downloading the microcode." 1>&2
If the wget command fails for any reason, the previous contents of
$LOCAL_FILE will be lost. This is not good.
Fix: save the new microcode to a temporary file, then mv it into place
if the download was successful.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]