part one for update

This commit is contained in:
Désiré Werner Menrath 2023-11-28 21:59:09 +01:00
parent a8200bc943
commit 642dd049eb

View File

@ -20,18 +20,24 @@ if grep -i 'mint\|debian\|ubuntu\|pop|' /etc/os-release > /dev/null 2>&1
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 is installed... ; fi
if ! which diff &> /dev/null ; then sudo apt install diff -y &> /dev/null ; fi
if ! which wget &> /dev/null ; then sudo apt install wget -y &> /dev/null ; 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 is installed... ; fi
if ! which diff &> /dev/null ; then sudo pacman -S --noconfirm diff -y &> /dev/null ; fi
if ! which wget &> /dev/null ; then sudo pacman -S --noconfirm wget -y &> /dev/null ; 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 ; fi
if ! which diff &> /dev/null ; then sudo dnf install diff -y &> /dev/null ; fi
if ! which wget &> /dev/null ; then sudo sudo dnf install wget -y &> /dev/null ; fi
elif grep -i 'suse' /etc/os-release > /dev/null 2>&1
then
@ -46,6 +52,8 @@ elif grep -i 'suse' /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 diff &> /dev/null ; then sudo zypper install diff -y &> /dev/null ; fi
if ! which wget &> /dev/null ; then sudo zypper install wget -y &> /dev/null ; fi
else
exit 1