mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
move checks to function install_script() (#1045)
This commit is contained in:
parent
0ddf5e2101
commit
36ca6fa9d2
82 changed files with 164 additions and 164 deletions
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
|||
fi
|
||||
}
|
||||
function install_script() {
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
||||
header_info
|
||||
echo -e "${BL}Using Default Settings${CL}"
|
||||
|
@ -346,8 +348,6 @@ msg_ok "Updated ${APP} LXC"
|
|||
msg_ok "Update Successfull"
|
||||
exit
|
||||
}
|
||||
ARCH_CHECK
|
||||
PVE_CHECK
|
||||
header_info
|
||||
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
||||
if [ "$VERB" == "yes" ]; then set -x; fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue