From 00e67c499ea022d1e0e0cf1c68035454611224cc Mon Sep 17 00:00:00 2001 From: iliajie Date: Wed, 13 Jul 2022 01:50:20 +0300 Subject: [PATCH] Fix to remove /var/webmin too in uninstall --- setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.sh b/setup.sh index 2ac256ba..ef7f3288 100755 --- a/setup.sh +++ b/setup.sh @@ -714,6 +714,8 @@ if [ "\$answer" = "y" ]; then rm -rf "$wadir" echo "Deleting $config_dir .." rm -rf "$config_dir" + echo "Deleting $var_dir .." + rm -rf "$var_dir" systemctlcmd=\`which systemctl 2>/dev/null\` if [ -x "\$systemctlcmd" ]; then echo "Deleting usermin.service .."