diff --git a/installer1.0.5 b/installer1.0.5 index 92920f3..494c4f7 100755 --- a/installer1.0.5 +++ b/installer1.0.5 @@ -14,22 +14,22 @@ 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 -y > /dev/null ; fi + if ! which yad > /dev/null ; then sudo apt install yad -y > /dev/null 2>&1 ; fi echo yad wird installiert. Bitte warten... - if ! which notify-send > /dev/null ; then sudo apt install libnotify-bin -y > /dev/null ; fi + if ! which notify-send > /dev/null ; then sudo apt install libnotify-bin -y > /dev/null 2>&1 ; fi 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 --noconfirm yad > /dev/null ; fi + if ! which yad > /dev/null ; then sudo pacman -S --noconfirm yad > /dev/null 2>&1 ; fi echo yad wird installiert. Bitte warten... - if ! which notify-send > /dev/null ; then sudo pacman -S --noconfirm libnotify > /dev/null ; fi + if ! which notify-send > /dev/null ; then sudo pacman -S --noconfirm libnotify > /dev/null 2>&1 ; fi 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 > /dev/null ; fi + if ! which yad > /dev/null ; then sudo dnf install yad > /dev/null 2>&1 ; fi echo yad wird installiert. Bitte warten... - if ! which notify-send > /dev/null ; then sudo dnf install libnotify > /dev/null ; fi + if ! which notify-send > /dev/null ; then sudo dnf install libnotify > /dev/null 2>&1 ; fi echo libnotify wird installiert. Bitte warten... elif grep -i 'suse' /etc/os-release > /dev/null 2>&1 diff --git a/wire_g b/wire_g index 5a412e7..65b08b3 100755 --- a/wire_g +++ b/wire_g @@ -111,7 +111,7 @@ remove(){ --fixed --buttons-layout=center \ --button=$"OK" --button=$"Cancel" \ --separator="" --window-icon=${wg_pic}wg-trash.png \ - --borders=8 --column=$'Delete' $tunnel) + --borders=8 --column=$"Delete" $tunnel) then nmcli connection delete $selection &> ${wg_wdir}.tmp.txt success=$(grep -i 'erfolgreich gelöscht\|successfully deleted' ${wg_wdir}.tmp.txt) @@ -212,7 +212,7 @@ if selection=$(yad --no-click --list \ ---------------------------------------------------------------------------------- If no tunnels are listed, so they have to import their tunnel beforehand." \ - --column=$'Selection' $tunnel) + --column=$"Selection" $tunnel) then if [[ -n $active ]]