installer korrektur
This commit is contained in:
parent
e2e8fe8762
commit
0a44795e0d
@ -14,18 +14,18 @@ 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 ; fi
|
||||||
elif ! which notify-send > /dev/null ; then sudo apt install libnotify-bin ; 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
|
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 ; fi
|
||||||
elif ! which notify-send > /dev/null ; then sudo pacman -S libnotify ; fi
|
if ! 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 ; fi
|
||||||
elif ! which notify-send > /dev/null ; then sudo dnf install libnotify ; fi
|
if ! 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user