installer korrektur

This commit is contained in:
Désiré Werner Menrath 2023-10-29 12:13:32 +01:00
parent e2e8fe8762
commit 0a44795e0d

View File

@ -14,18 +14,18 @@ echo Wire-G wird installiert.
if grep -i 'mint\|debian\|ubuntu\|pop|' /etc/os-release > /dev/null 2>&1
then
if ! which yad > /dev/null ; then sudo apt install yad
elif ! which notify-send > /dev/null ; then sudo apt install libnotify-bin ; fi
if ! which yad > /dev/null ; then sudo apt install yad ; fi
if ! 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
then
if ! which yad > /dev/null ; then sudo pacman -S yad
elif ! which notify-send > /dev/null ; then sudo pacman -S libnotify ; fi
if ! which yad > /dev/null ; then sudo pacman -S yad ; fi
if ! which notify-send > /dev/null ; then sudo pacman -S libnotify ; fi
elif grep -i 'fedora' /etc/os-release > /dev/null 2>&1
then
if ! which yad > /dev/null ; then sudo dnf install yad
elif ! which notify-send > /dev/null ; then sudo dnf install libnotify ; fi
if ! which yad > /dev/null ; then sudo dnf install yad ; fi
if ! which notify-send > /dev/null ; then sudo dnf install libnotify ; fi
elif grep -i 'suse' /etc/os-release > /dev/null 2>&1
then