install fix for fedora

This commit is contained in:
Désiré Werner Menrath 2023-11-26 11:23:00 +01:00
parent fa24512a6f
commit 79fb6e700f

View File

@ -19,19 +19,19 @@ if grep -i 'mint\|debian\|ubuntu\|pop|' /etc/os-release > /dev/null 2>&1
then then
echo $"Wire-G is installed..." echo $"Wire-G is installed..."
mkdir -p /home/"$USER"/.icons ; cp icons/* /home/"$USER"/.icons/ ; mkdir -p /home/"$USER"/.config/wg_nmcli 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 elif grep -i 'arch\|manjaro\|garuda\|endeavour|' /etc/os-release > /dev/null 2>&1
then then
echo $"Wire-G is installed..." echo $"Wire-G is installed..."
mkdir -p /home/"$USER"/.icons ; cp icons/* /home/"$USER"/.icons/ ; mkdir -p /home/"$USER"/.config/wg_nmcli 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 elif grep -i 'fedora' /etc/os-release > /dev/null 2>&1
then then
echo $"Wire-G is installed..." echo $"Wire-G is installed..."
mkdir -p /home/"$USER"/.icons ; cp icons/* /home/"$USER"/.icons/ ; mkdir -p /home/"$USER"/.config/wg_nmcli 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 elif grep -i 'suse' /etc/os-release > /dev/null 2>&1
then then