From 3cd1a1d718efccee917044c5b93c7b10726a3b23 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 28 Sep 2024 22:08:28 +0200 Subject: [PATCH] ${?} --- deb.fix.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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