From d1f18400aaa29b8959795c7463b1d9ca36a891c9 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sat, 12 Sep 2015 22:20:44 +0200 Subject: havp - remove created bogus templates directory on uninstall --- config/havp/havp.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config/havp') diff --git a/config/havp/havp.inc b/config/havp/havp.inc index 30b06d03..40c1dfbc 100644 --- a/config/havp/havp.inc +++ b/config/havp/havp.inc @@ -240,6 +240,9 @@ function havp_deinstall() { // unlink_if_exists(HVDEF_AVUPD_SCRIPT); // unlink_if_exists(HVDEF_CLAM_PID); // unlink_if_exists(HVDEF_CLAM_SOCKET); + if (is_dir("/usr/local/share/examples/havp/")) { + mwexec("/bin/rm -rf /usr/local/share/examples/havp/"); + } umountRAMDisk(); } /* -- cgit v1.2.3