Update build.func

This commit is contained in:
CanbiZ 2025-03-26 14:35:22 +01:00
parent 55ae854883
commit c3caa7b52a

View File

@ -1362,7 +1362,6 @@ start() {
exit_script exit_script
exit 0 exit 0
fi fi
LOGDIR="/usr/local/community-scripts/logs" LOGDIR="/usr/local/community-scripts/logs"
mkdir -p "$LOGDIR" mkdir -p "$LOGDIR"
@ -1370,7 +1369,7 @@ start() {
if ! (whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then if ! (whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --title "${APP} LXC" --yesno "This will create a New ${APP} LXC. Proceed?" 10 58); then
clear clear
exit_script exit_script
exit 0 exit
fi fi
install_script install_script
else else
@ -1396,13 +1395,12 @@ start() {
clear clear
log_message "INFO" "Update aborted." log_message "INFO" "Update aborted."
exit_script exit_script
exit 0 exit
;; ;;
esac esac
SPINNER_PID="" SPINNER_PID=""
update_script update_script
exit 0
fi fi
} }