Update build.func
This commit is contained in:
parent
9831033444
commit
d22b51081f
@ -1358,19 +1358,18 @@ check_container_storage() {
|
||||
start() {
|
||||
LOGDIR="/usr/local/community-scripts/logs"
|
||||
mkdir -p "$LOGDIR"
|
||||
|
||||
if [ -f /etc/alpine-release ]; then
|
||||
echo "Running on Alpine Linux – minimal update process."
|
||||
update_script
|
||||
return
|
||||
fi
|
||||
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
|
||||
clear
|
||||
exit_script
|
||||
exit
|
||||
fi
|
||||
SPINNER_PID=""
|
||||
install_script
|
||||
else
|
||||
if [ -f /etc/alpine-release ]; then
|
||||
echo "Running on Alpine Linux – minimal update process."
|
||||
update_script
|
||||
else
|
||||
CHOICE=$(whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --title "${APP} LXC Update/Setting" --menu \
|
||||
"Support/Update functions for ${APP} LXC. Choose an option:" \
|
||||
@ -1397,9 +1396,10 @@ start() {
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
|
||||
SPINNER_PID=""
|
||||
update_script
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
# This function collects user settings and integrates all the collected information.
|
||||
|
Loading…
x
Reference in New Issue
Block a user