übersetzung komplett installer korriegiert
This commit is contained in:
		@@ -1,4 +1,14 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
########################################################
 | 
			
		||||
######################################################## 
 | 
			
		||||
# Wire-G App for simple management a Wireguard Tunnel ##
 | 
			
		||||
# Author: Désiré Werner Menrath                       ##
 | 
			
		||||
# Email: polunga40@unity-mail.de                      ##
 | 
			
		||||
# Translate German to English with LibreTranslate     ##
 | 
			
		||||
# Translatefiles edit with Poedit                     ##
 | 
			
		||||
# Use without warranty!                               ##
 | 
			
		||||
######################################################## 
 | 
			
		||||
########################################################
 | 
			
		||||
 | 
			
		||||
############################################################################################################ 
 | 
			
		||||
############################################################################################################ 
 | 
			
		||||
@@ -11,29 +21,23 @@ if grep -i 'mint\|debian\|ubuntu\|pop|' /etc/os-release > /dev/null 2>&1
 | 
			
		||||
    then
 | 
			
		||||
        echo Wire-G wird installiert...
 | 
			
		||||
        mkdir -p /home/"$a_user"/.icons ; cp icons/* /home/"$a_user"/.icons/ ; mkdir -p /home/"$a_user"/.config/wg_nmcli
 | 
			
		||||
        if ! which yad  > /dev/null ; then sudo apt install yad -y > /dev/null 2>&1 ; fi
 | 
			
		||||
        echo yad wird installiert. Bitte warten...
 | 
			
		||||
        if ! which notify-send > /dev/null ; then sudo apt install libnotify-bin -y > /dev/null 2>&1 ; fi
 | 
			
		||||
        echo libnotify wird installiert. Bitte warten...
 | 
			
		||||
        if ! which yad  > /dev/null ; then sudo apt install yad -y > /dev/null 2>&1 ; echo yad wird installiert. Bitte warten... ; fi
 | 
			
		||||
        if ! which notify-send > /dev/null ; then sudo apt install libnotify-bin -y > /dev/null 2>&1 ; echo libnotify 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/"$a_user"/.icons ; cp icons/* /home/"$a_user"/.icons/ ; mkdir -p /home/"$a_user"/.config/wg_nmcli
 | 
			
		||||
        if ! which yad  > /dev/null ; then sudo pacman -S --noconfirm yad > /dev/null 2>&1 ; fi 
 | 
			
		||||
        echo yad wird installiert. Bitte warten...
 | 
			
		||||
        if ! which notify-send > /dev/null ; then sudo pacman -S --noconfirm libnotify > /dev/null 2>&1 ; fi
 | 
			
		||||
        echo libnotify wird installiert. Bitte warten...
 | 
			
		||||
 | 
			
		||||
        if ! which yad  > /dev/null ; then sudo pacman -S --noconfirm yad > /dev/null 2>&1 ; echo yad wird installiert. Bitte warten... ; fi 
 | 
			
		||||
        if ! which notify-send > /dev/null ; then sudo pacman -S --noconfirm libnotify > /dev/null 2>&1 ; echo libnotify 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/"$a_user"/.icons ; cp icons/* /home/"$a_user"/.icons/ ; mkdir -p /home/"$a_user"/.config/wg_nmcli
 | 
			
		||||
        if ! which yad  > /dev/null ; then sudo dnf install yad > /dev/null 2>&1 ; fi
 | 
			
		||||
        echo yad wird installiert. Bitte warten...
 | 
			
		||||
        if ! which notify-send > /dev/null ; then sudo dnf install libnotify > /dev/null 2>&1 ; fi
 | 
			
		||||
        echo libnotify wird installiert. Bitte warten...
 | 
			
		||||
    
 | 
			
		||||
        if ! which yad  > /dev/null ; then sudo dnf install yad > /dev/null 2>&1 ; echo yad wird installiert. Bitte warten... ; fi
 | 
			
		||||
        if ! which notify-send > /dev/null ; then sudo dnf install libnotify > /dev/null 2>&1 ; echo libnotify wird installiert. Bitte warten... ; fi
 | 
			
		||||
        
 | 
			
		||||
elif grep -i 'suse' /etc/os-release > /dev/null 2>&1
 | 
			
		||||
    then
 | 
			
		||||
        clear
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,14 @@
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
########################################################
 | 
			
		||||
######################################################## 
 | 
			
		||||
# Wire-G App for simple management a Wireguard Tunnel ##
 | 
			
		||||
# Author: Désiré Werner Menrath                       ##
 | 
			
		||||
# Email: polunga40@unity-mail.de                      ##
 | 
			
		||||
# Translate German to English with LibreTranslate     ##
 | 
			
		||||
# Translatefiles edit with Poedit                     ##
 | 
			
		||||
# Use without warranty!                               ##
 | 
			
		||||
######################################################## 
 | 
			
		||||
########################################################
 | 
			
		||||
 | 
			
		||||
a_user=$(whoami)
 | 
			
		||||
cd || exit
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user