diff --git a/deb.fix.sh b/deb.fix.sh index 35c7583..2ee9407 100755 --- a/deb.fix.sh +++ b/deb.fix.sh @@ -17,9 +17,7 @@ for dist in "${DISTS[@]}"; do for section in "${SECTIONS[@]}"; do cd "${LOCAL_ROOT}/${dist}/${section}" rm --force "${MISSING}" - wget "${REMOTE_ROOT}/${dist}/${section}/${MISSING}" &>/dev/null - if [ ${?} -ne 0 ]; then + wget "${REMOTE_ROOT}/${dist}/${section}/${MISSING}" &>/dev/null || echo "${ERROR}" - fi done done