installer erweitert mit /dev/null und echo
This commit is contained in:
parent
3cfbeac56b
commit
da3dbfbdd5
@ -14,18 +14,23 @@ 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 ; fi
|
||||
if ! which notify-send > /dev/null ; then sudo apt install libnotify-bin ; fi
|
||||
if ! which yad > /dev/null ; then sudo apt install yad -y > /dev/null
|
||||
echo yad wird installiert. Bitte warten...
|
||||
if ! which notify-send > /dev/null ; then sudo apt install libnotify-bin -y > /dev/null
|
||||
echo libnotify wird installiert. Bitte warten...
|
||||
|
||||
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 ; fi
|
||||
if ! which notify-send > /dev/null ; then sudo pacman -S libnotify ; fi
|
||||
|
||||
if ! which yad > /dev/null ; then sudo pacman -S --noconfirm yad > /dev/null
|
||||
echo yad wird installiert. Bitte warten...
|
||||
if ! which notify-send > /dev/null ; then sudo pacman -S --noconfirm libnotify > /dev/null
|
||||
echo libnotify wird installiert. Bitte warten...
|
||||
elif grep -i 'fedora' /etc/os-release > /dev/null 2>&1
|
||||
then
|
||||
if ! which yad > /dev/null ; then sudo dnf install yad ; fi
|
||||
if ! which notify-send > /dev/null ; then sudo dnf install libnotify ; fi
|
||||
if ! which yad > /dev/null ; then sudo dnf install yad > /dev/null
|
||||
echo yad wird installiert. Bitte warten...
|
||||
if ! which notify-send > /dev/null ; then sudo dnf install libnotify > /dev/null
|
||||
echo libnotify wird installiert. Bitte warten...
|
||||
|
||||
elif grep -i 'suse' /etc/os-release > /dev/null 2>&1
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user