Update build.func

move variable
This commit is contained in:
tteckster 2023-03-23 12:31:19 -04:00 committed by GitHub
parent b4ced6ced6
commit 190cdf5858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,6 @@
variables() { variables() {
NSAPP=$(echo ${APP,,} | tr -d ' ') NSAPP=$(echo ${APP,,} | tr -d ' ')
var_install="${NSAPP}-install" var_install="${NSAPP}-install"
timezone=$(cat /etc/timezone)
INTEGER='^[0-9]+([.][0-9]+)?$' INTEGER='^[0-9]+([.][0-9]+)?$'
} }
@ -333,6 +332,7 @@ install_script() {
arch_check arch_check
pve_check pve_check
NEXTID=$(pvesh get /cluster/nextid) NEXTID=$(pvesh get /cluster/nextid)
timezone=$(cat /etc/timezone)
header_info header_info
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
header_info header_info