Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit 0e01ceb

Browse files
authored
Update wireguard.sh
fix update
1 parent 12bd10b commit 0e01ceb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ct/wireguard.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radio
6060
3>&1 1>&2 2>&3)
6161
header_info
6262
if [ "$UPD" == "1" ]; then
63-
msg_error "There is currently no update path available."
63+
msg_info "Updating ${APP} LXC"
64+
apt-get update &>/dev/null
65+
apt-get -y upgrade &>/dev/null
66+
msg_ok "Updated ${APP} LXC"
6467
exit
6568
fi
6669
if [ "$UPD" == "2" ]; then

0 commit comments

Comments
 (0)