This commit is contained in:
Marc Beninca 2024-08-26 17:14:50 +02:00
parent 2995362c3d
commit d22986d284
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -592,10 +592,9 @@ ${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")"
spcd_split
spcd_os_printenv "SPCD_OS_ID" "SPCD_OS_VERSION"
# universal
SPCD_DNS_FILE="/etc/resolv.conf"
SPCD_PYTHON_ALIAS="python3"
spcd_split
spcd_os_printenv "SPCD_DNS_FILE" "SPCD_PYTHON_ALIAS"
spcd_os_printenv "SPCD_PYTHON_ALIAS"
# set package manager
case "${SPCD_OS_ID}" in
"${SPCD_OS_ALPINE}")
@ -853,7 +852,7 @@ spcd_dns() {
nameserver ${spcd_sdr__value}
"
done
spcd_os_write "${SPCD_DNS_FILE}" "${spcd_sdr__text}"
spcd_os_write "/etc/resolv.conf" "${spcd_sdr__text}"
}
# ╭───────┬──────────╮