Added check for already installed wireguard
This commit is contained in:
parent
cfc97be5ca
commit
14a15aa0e4
11
wiremac.sh
11
wiremac.sh
@ -15,11 +15,16 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Entpacke Zip in den Programme Ordner"
|
echo "Überprüfe, ob Wireguard bereits vorhanden ist"
|
||||||
if unzip WireGuard.app.zip -d /Applications/ >/dev/null; then
|
if [ -d /Applications/WireGuard.app ]; then
|
||||||
echo "Entpacken erfolgreich"
|
echo "WireGuard bereits installiert"
|
||||||
else
|
else
|
||||||
|
echo "Entpacke Zip in den Programme Ordner"
|
||||||
|
if unzip WireGuard.app.zip -d /Applications/ >/dev/null; then
|
||||||
|
echo "Entpacken erfolgreich"
|
||||||
|
else
|
||||||
echo "Entpacken hat nicht funktioniert"
|
echo "Entpacken hat nicht funktioniert"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Fixe Berechtigungen"
|
echo "Fixe Berechtigungen"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user