From da3dbfbdd5b0d405a83a5fdb06ca437b14a65b02 Mon Sep 17 00:00:00 2001 From: punix Date: Thu, 2 Nov 2023 07:06:17 +0100 Subject: [PATCH] installer erweitert mit /dev/null und echo --- installer1.0.5 | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/installer1.0.5 b/installer1.0.5 index 0869a61..7cb4cee 100755 --- a/installer1.0.5 +++ b/installer1.0.5 @@ -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