mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-08-13 16:32:23 +00:00
Update update-pve8.sh
This commit is contained in:
parent
4dc3fd92cc
commit
450610b6e6
@ -31,15 +31,9 @@ register_tool() {
|
||||
|
||||
|
||||
download_common_functions() {
|
||||
local common_file="$BASE_DIR/scripts/global/common-functions.sh"
|
||||
|
||||
if [[ ! -f "$common_file" ]]; then
|
||||
if ! curl -s "$REPO_URL/scripts/global/common-functions.sh" -o "$common_file"; then
|
||||
return 1
|
||||
fi
|
||||
if ! source <(curl -s "$REPO_URL/scripts/global/common-functions.sh"); then
|
||||
return 1
|
||||
fi
|
||||
|
||||
source "$common_file"
|
||||
}
|
||||
|
||||
update_pve8() {
|
||||
@ -159,9 +153,6 @@ EOF
|
||||
if ! show_update_menu "$current_pve_version" "$available_pve_version" "$upgradable" "$security_updates"; then
|
||||
msg_info2 "$(translate "Update cancelled by user")"
|
||||
perform_final_cleanup
|
||||
echo -e
|
||||
msg_success "$(translate "Press Enter to return to menu...")"
|
||||
read -r
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user