fix install
This commit is contained in:
parent
0928aab687
commit
fa24512a6f
6
install
6
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 2>&1 ; echo yad wird installiert. Bitte warten... ; fi
|
||||
if ! which yad &> /dev/null ; then sudo apt install yad -y &> /dev/null & echo yad wird installiert. Bitte warten... ; 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 2>&1 ; echo yad wird installiert. Bitte warten... ; fi
|
||||
if ! which yad &> /dev/null ; then sudo pacman -S --noconfirm yad &> /dev/null & echo yad wird installiert. Bitte warten... ; 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 2>&1 /dev/null ; then sudo dnf install yad -y > /dev/null 2>&1 ; echo yad wird installiert. Bitte warten... ; fi
|
||||
if ! which yad &> /dev/null ; then sudo dnf install yad -y &> /dev/null & echo yad wird installiert. Bitte warten... ; fi
|
||||
|
||||
elif grep -i 'suse' /etc/os-release > /dev/null 2>&1
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user