Update build.func
This commit is contained in:
parent
f934b48a55
commit
fcb5d0c2b7
@ -1362,16 +1362,19 @@ start() {
|
|||||||
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
|
||||||
SPINNER_PID=""
|
|
||||||
exit_script
|
exit_script
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
SPINNER_PID=""
|
SPINNER_PID=""
|
||||||
install_script
|
install_script
|
||||||
else
|
fi
|
||||||
|
|
||||||
|
if ! command -v pveversion >/dev/null 2>&1; then
|
||||||
if [ -f /etc/alpine-release ]; then
|
if [ -f /etc/alpine-release ]; then
|
||||||
|
echo "Running on Alpine Linux – minimal update process."
|
||||||
update_script
|
update_script
|
||||||
else
|
return
|
||||||
|
fi
|
||||||
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:" \
|
||||||
12 60 3 \
|
12 60 3 \
|
||||||
@ -1401,7 +1404,6 @@ start() {
|
|||||||
SPINNER_PID=""
|
SPINNER_PID=""
|
||||||
update_script
|
update_script
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function collects user settings and integrates all the collected information.
|
# This function collects user settings and integrates all the collected information.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user