translate Dateien umbenannt, verschoben & code fix

This commit is contained in:
Désiré Werner Menrath 2023-11-04 08:00:19 +01:00
parent a57da6926e
commit 8f98cf9c55
5 changed files with 3 additions and 3 deletions

View File

@ -12,9 +12,9 @@
a_user=$(whoami)
cd || exit
rm -f /home/$a_user/.icons/wireguard-active.png wireguard-stop.png wireguard-vpn.png wg-import.png wg-trash.png wg-info.png
rm -f /home/"$a_user"/.icons/wireguard-active.png wireguard-stop.png wireguard-vpn.png wg-import.png wg-trash.png wg-info.png
wait;
rm -r /home/$a_user/.config/wg_nmcli
rm -r /home/"$a_user"/.config/wg_nmcli
wait;
sudo rm /usr/share/icons/Arch-Symbole/wireguard-vpn.png
wait;

View File

@ -30,7 +30,7 @@ export textdomaindir="/usr/share/locale"
for wert in "${lines[@]}"
do
# hier wird die Ausgabe von nmcli für die auswertung in die .stop.txt gespeichert
nmcli connection down $wert &> ${wg_wdir}.stop.txt
nmcli connection down "$wert" &> ${wg_wdir}.stop.txt
if disable=$(grep -i 'deaktiviert\|deactivated' ${wg_wdir}.stop.txt)
then
notify-send --icon=${wg_pic}wg-stop.png $"$wert Connection disconnected"