installer korrektur

This commit is contained in:
Désiré Werner Menrath 2023-10-29 10:58:59 +01:00
parent 26b1d49302
commit e2e8fe8762
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,6 @@
# Wire-G # Wire-G
Wire-G eine GUI App für Linux Systeme in Bash mit yad. Einfaches Management von Wireguard Tunnel'n über nmcli (Networkmanager) mit einer grafischen Oberfläche. Wire-G eine GUI App für Linux Systeme in Bash mit yad. Einfaches Management von Wireguard Tunnel'n über nmcli (Networkmanager) mit einer grafischen Oberfläche.
# Screenshots

View File

@ -15,17 +15,17 @@ echo Wire-G wird installiert.
if grep -i 'mint\|debian\|ubuntu\|pop|' /etc/os-release > /dev/null 2>&1 if grep -i 'mint\|debian\|ubuntu\|pop|' /etc/os-release > /dev/null 2>&1
then then
if ! which yad > /dev/null ; then sudo apt install yad if ! which yad > /dev/null ; then sudo apt install yad
elif ! which notify-send ; then sudo apt install libnotify-bin ; fi elif ! which notify-send > /dev/null ; then sudo apt install libnotify-bin ; fi
elif grep -i 'arch\|manjaro\|garuda\|endeavour|' /etc/os-release > /dev/null 2>&1 elif grep -i 'arch\|manjaro\|garuda\|endeavour|' /etc/os-release > /dev/null 2>&1
then then
if ! which yad > /dev/null ; then sudo pacman -S yad if ! which yad > /dev/null ; then sudo pacman -S yad
elif ! which notify-send ; then sudo pacman -S libnotify ; fi elif ! which notify-send > /dev/null ; then sudo pacman -S libnotify ; fi
elif grep -i 'fedora' /etc/os-release > /dev/null 2>&1 elif grep -i 'fedora' /etc/os-release > /dev/null 2>&1
then then
if ! which yad > /dev/null ; then sudo dnf install yad if ! which yad > /dev/null ; then sudo dnf install yad
elif ! which notify-send ; then sudo dnf install libnotify elif ! which notify-send > /dev/null ; then sudo dnf install libnotify ; fi
elif grep -i 'suse' /etc/os-release > /dev/null 2>&1 elif grep -i 'suse' /etc/os-release > /dev/null 2>&1
then then
@ -39,7 +39,7 @@ else
echo Bitte installieren sie yad und echo Bitte installieren sie yad und
echo eventuell libnotify noch auf iher Distro nach. echo eventuell libnotify noch auf iher Distro nach.
echo Wire-G ist dann auch für ihr System bereit. echo Wire-G ist dann auch für ihr System bereit.
fi
fi fi
wait; wait;