fix installer
This commit is contained in:
parent
5da754df62
commit
531e5346e9
@ -19,21 +19,21 @@ if grep -i 'mint\|debian\|ubuntu\|pop|' /etc/os-release > /dev/null 2>&1
|
||||
then
|
||||
echo Wire-G wird installiert...
|
||||
mkdir -p /home/"$USER"/.icons ; cp icons/* /home/"$USER"/.icons/ ; mkdir -p /home/"$USER"/.config/wg_nmcli
|
||||
cp wg_on_start /home/"$USER"/.config/bin/
|
||||
cp wg_on_start /home/"$USER"/.local/bin/
|
||||
if ! which yad > /dev/null ; then sudo apt install yad -y > /dev/null 2>&1 ; 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 wird installiert...
|
||||
mkdir -p /home/"$USER"/.icons ; cp icons/* /home/"$USER"/.icons/ ; mkdir -p /home/"$USER"/.config/wg_nmcli
|
||||
cp wg_on_start /home/"$USER"/.config/bin/
|
||||
cp wg_on_start /home/"$USER"/.local/bin/
|
||||
if ! which yad > /dev/null ; then sudo pacman -S --noconfirm yad > /dev/null 2>&1 ; echo yad wird installiert. Bitte warten... ; fi
|
||||
|
||||
elif grep -i 'fedora' /etc/os-release > /dev/null 2>&1
|
||||
then
|
||||
echo Wire-G wird installiert...
|
||||
mkdir -p /home/"$USER"/.icons ; cp icons/* /home/"$USER"/.icons/ ; mkdir -p /home/"$USER"/.config/wg_nmcli
|
||||
cp wg_on_start /home/"$USER"/.config/bin/
|
||||
cp wg_on_start /home/"$USER"/.local/bin/
|
||||
if ! which yad > /dev/null ; then sudo dnf install yad > /dev/null 2>&1 ; echo yad wird installiert. Bitte warten... ; fi
|
||||
|
||||
elif grep -i 'suse' /etc/os-release > /dev/null 2>&1
|
||||
@ -49,7 +49,7 @@ elif grep -i 'suse' /etc/os-release > /dev/null 2>&1
|
||||
then
|
||||
echo Wire-G wird installiert...
|
||||
mkdir -p /home/"$USER"/.icons ; cp icons/* /home/"$USER"/.icons/ ; mkdir -p /home/"$USER"/.config/wg_nmcli
|
||||
cp wg_on_start /home/"$USER"/.config/bin/
|
||||
cp wg_on_start /home/"$USER"/.local/bin/
|
||||
|
||||
else
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user