Update alpine-wireguard.sh
This commit is contained in:
parent
5bd1100a26
commit
b6b09d6cfa
@ -19,18 +19,6 @@ variables
|
|||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
||||||
|
|
||||||
function update_script() {
|
|
||||||
UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 1 \
|
|
||||||
"1" "Check for Alpine Updates" ON \
|
|
||||||
3>&1 1>&2 2>&3)
|
|
||||||
|
|
||||||
header_info
|
|
||||||
if [ "$UPD" == "1" ]; then
|
|
||||||
apk update && apk upgrade
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
msg_info "Updating Alpine Packages"
|
msg_info "Updating Alpine Packages"
|
||||||
apk update && apk upgrade
|
apk update && apk upgrade
|
||||||
|
Loading…
x
Reference in New Issue
Block a user