From 5196ed8fecde8121bf670ae89e764c561dd4f1e8 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 12 Jan 2024 11:48:37 -0500 Subject: [PATCH] Update build.func tweak --- misc/build.func | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/misc/build.func b/misc/build.func index 9bc6c582..cbb7b4e9 100644 --- a/misc/build.func +++ b/misc/build.func @@ -124,6 +124,7 @@ ssh_check() { # This function displays the default values for various settings. echo_default() { APT_CACHER="" + APT_CACHER_IP="" echo -e "${DGN}Using Distribution: ${BGN}$var_os${CL}" echo -e "${DGN}Using $var_os Version: ${BGN}$var_version${CL}" echo -e "${DGN}Using Container Type: ${BGN}$CT_TYPE${CL}" @@ -511,11 +512,9 @@ build_container() { export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/alpine-install.func)" else export FUNCTIONS_FILE_PATH="$(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/install.func)" - fi - if [ "$APT_CACHER" == "yes" ]; then + export CACHER="$APT_CACHER" export CACHER_IP="$APT_CACHER_IP" - fi export tz="$timezone" export DISABLEIPV6="$DISABLEIP6" export APPLICATION="$APP"