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}
|
||||
"
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue