Update build.func

tweak
This commit is contained in:
tteckster 2024-02-12 10:38:37 -05:00 committed by GitHub
parent 25f88d586c
commit 1af3b37dd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -342,6 +342,7 @@ advanced_settings() {
if [ "$var_os" == "alpine" ]; then
APT_CACHER=""
APT_CACHER_IP=""
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}"