This commit is contained in:
CanbiZ 2025-05-22 14:25:39 +02:00
parent c829611d1a
commit 563769904f
2 changed files with 3 additions and 8 deletions

View File

@ -44,6 +44,8 @@ function update_script() {
} }
start start
build_container
description
msg_ok "Completed Successfully!\n" msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"

View File

@ -925,7 +925,6 @@ check_container_storage() {
start() { start() {
source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/tools.func) source <(curl -fsSL https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/main/misc/tools.func)
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then
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
@ -933,8 +932,6 @@ start() {
exit exit
fi fi
install_script install_script
build_container
description
else else
CHOICE=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --title "${APP} LXC Update/Setting" --menu \ CHOICE=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --title "${APP} LXC Update/Setting" --menu \
"Support/Update functions for ${APP} LXC. Choose an option:" \ "Support/Update functions for ${APP} LXC. Choose an option:" \
@ -947,22 +944,18 @@ start() {
1) 1)
VERBOSE="no" VERBOSE="no"
set_std_mode set_std_mode
update_script
;; ;;
2) 2)
VERBOSE="yes" VERBOSE="yes"
set_std_mode set_std_mode
update_script
;; ;;
3) 3)
clear clear
exit_script exit_script
exit exit
;; ;;
esac esac
return update_script
fi fi
} }