WGDashboard: Revert back to old update method (#7500)

* Revert back to git clone

* Add git to sh
This commit is contained in:
Slaviša Arežina
2025-09-09 16:48:12 +02:00
committed by GitHub
parent 2494af7e1c
commit 02a1a732f8
2 changed files with 11 additions and 1 deletions

View File

@@ -28,6 +28,12 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
if ! dpkg -s git >/dev/null 2>&1; then
msg_info "Installing git"
$STD apt-get update
$STD apt-get install -y git
msg_ok "Installed git"
fi
apt-get update
apt-get -y upgrade
if [[ -d /etc/wgdashboard ]]; then