From ea339ecfab52d122b77cf0b6c1887cc5c9a42235 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 12 Jan 2024 11:29:20 -0500 Subject: [PATCH] Update build.func tweak --- misc/build.func | 3 +++ 1 file changed, 3 insertions(+) diff --git a/misc/build.func b/misc/build.func index 3beacc87..9bc6c582 100644 --- a/misc/build.func +++ b/misc/build.func @@ -123,6 +123,7 @@ ssh_check() { # This function displays the default values for various settings. echo_default() { + APT_CACHER="" 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,8 +512,10 @@ build_container() { 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"