installer fehler gefixt

This commit is contained in:
Désiré Werner Menrath 2023-11-02 10:23:48 +01:00
parent 791cb95c31
commit 64e2864b2d

View File

@ -14,22 +14,22 @@ 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 -y > /dev/null if ! which yad > /dev/null ; then sudo apt install yad -y > /dev/null ; fi
echo yad wird installiert. Bitte warten... echo yad wird installiert. Bitte warten...
if ! which notify-send > /dev/null ; then sudo apt install libnotify-bin -y > /dev/null if ! which notify-send > /dev/null ; then sudo apt install libnotify-bin -y > /dev/null ; fi
echo libnotify wird installiert. Bitte warten... echo libnotify wird installiert. Bitte warten...
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 --noconfirm yad > /dev/null if ! which yad > /dev/null ; then sudo pacman -S --noconfirm yad > /dev/null ; fi
echo yad wird installiert. Bitte warten... echo yad wird installiert. Bitte warten...
if ! which notify-send > /dev/null ; then sudo pacman -S --noconfirm libnotify > /dev/null if ! which notify-send > /dev/null ; then sudo pacman -S --noconfirm libnotify > /dev/null ; fi
echo libnotify wird installiert. Bitte warten... echo libnotify wird installiert. Bitte warten...
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 > /dev/null if ! which yad > /dev/null ; then sudo dnf install yad > /dev/null ; fi
echo yad wird installiert. Bitte warten... echo yad wird installiert. Bitte warten...
if ! which notify-send > /dev/null ; then sudo dnf install libnotify > /dev/null if ! which notify-send > /dev/null ; then sudo dnf install libnotify > /dev/null ; fi
echo libnotify wird installiert. Bitte warten... echo libnotify wird installiert. Bitte warten...
elif grep -i 'suse' /etc/os-release > /dev/null 2>&1 elif grep -i 'suse' /etc/os-release > /dev/null 2>&1