uniinstaller fix for new Dir wg_nmcli
This commit is contained in:
parent
92ae78f5a8
commit
31028c539f
@ -13,16 +13,15 @@
|
|||||||
cd || exit
|
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
|
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;
|
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
|
if [ -d /home/$USER/.config/autostart ] # for GNOME, XFCE, KDE, Budgie
|
||||||
then
|
then
|
||||||
rm /home/$USER/.config/autostart/wgonstart.desktop > /dev/null 2>&1
|
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
|
elif [ -d /home/$USER/.config/lxsession/Lubuntu/autostart ] # for LXDE
|
||||||
then
|
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
|
||||||
rm /home/$USER/.config/lxsession/Lubuntu/autostart/.wgonstart.desktop > /dev/null 2>&1
|
|
||||||
fi
|
fi
|
||||||
wait;
|
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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user