From 25f88d586ca9420aaf5e56b8b34c09bd452c5094 Mon Sep 17 00:00:00 2001 From: tteckster Date: Mon, 12 Feb 2024 10:36:02 -0500 Subject: [PATCH] Update build.func fixes https://github.com/tteck/Proxmox/issues/2478 --- misc/build.func | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/misc/build.func b/misc/build.func index daf5dc49..d9dc8a70 100644 --- a/misc/build.func +++ b/misc/build.func @@ -340,7 +340,9 @@ advanced_settings() { echo -e "${DGN}Using Gateway IP Address: ${BGN}Default${CL}" fi - if [ "$var_os" != "alpine" ]; then + if [ "$var_os" == "alpine" ]; then + APT_CACHER="" + else if APT_CACHER_IP=$(whiptail --backtitle "Proxmox VE Helper Scripts" --inputbox "Set APT-Cacher IP (leave blank for default)" 8 58 --title "APT-Cacher IP" 3>&1 1>&2 2>&3); then APT_CACHER="${APT_CACHER_IP:+yes}" echo -e "${DGN}Using APT-Cacher IP Address: ${BGN}${APT_CACHER_IP:-Default}${CL}"