|
|
@ -326,6 +326,8 @@ function advanced_settings() {
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function install_script() {
|
|
|
|
function install_script() {
|
|
|
|
|
|
|
|
ARCH_CHECK
|
|
|
|
|
|
|
|
PVE_CHECK
|
|
|
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
|
|
|
if (whiptail --title "SETTINGS" --yesno "Use Default Settings?" --no-button Advanced 10 58); then
|
|
|
|
header_info
|
|
|
|
header_info
|
|
|
|
echo -e "${BL}Using Default Settings${CL}"
|
|
|
|
echo -e "${BL}Using Default Settings${CL}"
|
|
|
@ -346,8 +348,6 @@ pacman -Sy archlinux-keyring && pacman -Su
|
|
|
|
msg_ok "Update Successfull"
|
|
|
|
msg_ok "Update Successfull"
|
|
|
|
exit
|
|
|
|
exit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ARCH_CHECK
|
|
|
|
|
|
|
|
PVE_CHECK
|
|
|
|
|
|
|
|
header_info
|
|
|
|
header_info
|
|
|
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
|
|
|
if ! command -v pveversion >/dev/null 2>&1; then update_script; else install_script; fi
|
|
|
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
|
|
|
if [ "$VERB" == "yes" ]; then set -x; fi
|
|
|
|