From 79fb6e700ff67c0f8f18257fb5d454378647799e Mon Sep 17 00:00:00 2001 From: punix Date: Sun, 26 Nov 2023 11:23:00 +0100 Subject: [PATCH] install fix for fedora --- install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install b/install index 8ffb483..44c8947 100755 --- a/install +++ b/install @@ -19,19 +19,19 @@ if grep -i 'mint\|debian\|ubuntu\|pop|' /etc/os-release > /dev/null 2>&1 then echo $"Wire-G is installed..." mkdir -p /home/"$USER"/.icons ; cp icons/* /home/"$USER"/.icons/ ; mkdir -p /home/"$USER"/.config/wg_nmcli - if ! which yad &> /dev/null ; then sudo apt install yad -y &> /dev/null & echo yad wird installiert. Bitte warten... ; fi + if ! which yad &> /dev/null ; then sudo apt install yad -y &> /dev/null & echo yad is installed... ; fi elif grep -i 'arch\|manjaro\|garuda\|endeavour|' /etc/os-release > /dev/null 2>&1 then echo $"Wire-G is installed..." mkdir -p /home/"$USER"/.icons ; cp icons/* /home/"$USER"/.icons/ ; mkdir -p /home/"$USER"/.config/wg_nmcli - if ! which yad &> /dev/null ; then sudo pacman -S --noconfirm yad &> /dev/null & echo yad wird installiert. Bitte warten... ; fi + if ! which yad &> /dev/null ; then sudo pacman -S --noconfirm yad &> /dev/null & echo yad is installed... ; fi elif grep -i 'fedora' /etc/os-release > /dev/null 2>&1 then echo $"Wire-G is installed..." mkdir -p /home/"$USER"/.icons ; cp icons/* /home/"$USER"/.icons/ ; mkdir -p /home/"$USER"/.config/wg_nmcli - if ! which yad &> /dev/null ; then sudo dnf install yad -y &> /dev/null & echo yad wird installiert. Bitte warten... ; fi + if ! which yad &> /dev/null ; then sudo dnf install yad -y ; fi elif grep -i 'suse' /etc/os-release > /dev/null 2>&1 then