mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-12-12 02:46:01 +00:00
WGDashboard: Revert back to old update method (#7500)
* Revert back to git clone * Add git to sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user