From d22986d284feed6e0a9e517b39460cb55e7e09ab Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 17:14:50 +0200 Subject: [PATCH] resolv --- spcd/bootstrap.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 0f5d619..667ffbb 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -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}" } # ╭───────┬──────────╮