uniinstaller fix for new Dir wg_nmcli
This commit is contained in:
		@@ -13,16 +13,15 @@
 | 
			
		||||
cd || exit
 | 
			
		||||
rm -f /home/"$USER"/.icons/wg-active.png wg-stop.png wg-vpn.png wg-import.png wg-trash.png wg-info.png wg-vpn-info.png
 | 
			
		||||
wait;
 | 
			
		||||
rm -r /home/"$USER"/.config/wg_nmcli  
 | 
			
		||||
rm -r /home/"$USER"/.config/wg_nmcli
 | 
			
		||||
rm -r /home/"$USER"/.local/share/wg_nmcli
 | 
			
		||||
if [ -d /home/$USER/.config/autostart ] # for GNOME, XFCE, KDE, Budgie
 | 
			
		||||
    then 
 | 
			
		||||
        rm /home/$USER/.config/autostart/wgonstart.desktop > /dev/null 2>&1
 | 
			
		||||
        rm /home/$USER/.config/autostart/.wgonstart.desktop > /dev/null 2>&1
 | 
			
		||||
 | 
			
		||||
elif [ -d /home/$USER/.config/lxsession/Lubuntu/autostart ] # for LXDE
 | 
			
		||||
    then
 | 
			
		||||
        rm /home/$USER/.config/lxsession/Lubuntu/autostart/wgonstart.desktop > /dev/null 2>&1
 | 
			
		||||
        rm /home/$USER/.config/lxsession/Lubuntu/autostart/.wgonstart.desktop > /dev/null 2>&1
 | 
			
		||||
fi
 | 
			
		||||
wait;
 | 
			
		||||
sudo rm /usr/share/icons/Arch-Symbole/wg-vpn.png ; sudo rm /sbin/wire_g ; sudo rm /sbin/wg_stop ; sudo rm /sbin/wg_on_start
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user