Update wireguard-v5.sh

tweak
This commit is contained in:
tteckster 2023-01-12 10:51:43 -05:00 committed by GitHub
parent 32d9d83bcf
commit 48babec3bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -325,6 +325,10 @@ msg_ok "Update Successfull"
exit exit
fi fi
if [ "$UPD" == "2" ]; then if [ "$UPD" == "2" ]; then
if [[ -f /etc/systemd/system/wg-dashboard.service ]]; then
msg_error "Existing WGDashboard Installation Found!";
exit
fi
IP=$(hostname -I | awk '{print $1}') IP=$(hostname -I | awk '{print $1}')
msg_info "Installing pip3" msg_info "Installing pip3"
apt-get install -y python3-pip &>/dev/null apt-get install -y python3-pip &>/dev/null