fixes
Some checks failed
/ job (push) Failing after 3s

This commit is contained in:
Marc Beninca 2024-04-26 16:29:40 +02:00
parent 998c5f2386
commit 1e1f281f54
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

5
cd.sh
View file

@ -52,8 +52,7 @@ local text=''
text+="nameserver ${server}
"
done
cd_write "${CD_DNS_FILE}" "${text}" \
|| exit
cd_write "${CD_DNS_FILE}" "${text}"
}
function cd_set_packages_repositories {
@ -102,7 +101,7 @@ Acquire::https::Verify-Peer False;
function cd_update_packages_catalog {
cd_step "${FUNCNAME}"
case "${CD_OS_NAME}" in
'debian') apt-get update ;;
'debian') apt-get update || exit ;;
*) exit 1 ;;
esac
}