parent
998c5f2386
commit
1e1f281f54
1 changed files with 2 additions and 3 deletions
5
cd.sh
5
cd.sh
|
@ -52,8 +52,7 @@ local text=''
|
||||||
text+="nameserver ${server}
|
text+="nameserver ${server}
|
||||||
"
|
"
|
||||||
done
|
done
|
||||||
cd_write "${CD_DNS_FILE}" "${text}" \
|
cd_write "${CD_DNS_FILE}" "${text}"
|
||||||
|| exit
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function cd_set_packages_repositories {
|
function cd_set_packages_repositories {
|
||||||
|
@ -102,7 +101,7 @@ Acquire::https::Verify-Peer False;
|
||||||
function cd_update_packages_catalog {
|
function cd_update_packages_catalog {
|
||||||
cd_step "${FUNCNAME}"
|
cd_step "${FUNCNAME}"
|
||||||
case "${CD_OS_NAME}" in
|
case "${CD_OS_NAME}" in
|
||||||
'debian') apt-get update ;;
|
'debian') apt-get update || exit ;;
|
||||||
*) exit 1 ;;
|
*) exit 1 ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue