while [ "$count" -lt "$UPDATE_RUNS" ]; do
apt-get update -qq
if [ "$?" = "0" ]; then break; fi
+ sleep $(( $RANDOM % 600 ))
count="$(( $count + 1 ))"
done
if [ "$count" -ge "$UPDATE_RUNS" ]; then
set -e
tmp=`tempfile`
trap "rm -f '$tmp'" exit
- /usr/share/dsa/apt-status-check > "$tmp"
+ /usr/share/dsa/apt-status-check --noupdate > "$tmp"
result="$?"
case "$result" in
0)