diff options
author | doktornotor <notordoktor@gmail.com> | 2015-09-12 22:20:44 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-09-12 22:20:44 +0200 |
commit | d1f18400aaa29b8959795c7463b1d9ca36a891c9 (patch) | |
tree | f8b4e648f0a08c6305b391f0d046f559eb19672d /config/havp | |
parent | 1039ba4bdf562783f19ac3ed551011f5cfe7200a (diff) | |
download | pfsense-packages-d1f18400aaa29b8959795c7463b1d9ca36a891c9.tar.gz pfsense-packages-d1f18400aaa29b8959795c7463b1d9ca36a891c9.tar.bz2 pfsense-packages-d1f18400aaa29b8959795c7463b1d9ca36a891c9.zip |
havp - remove created bogus templates directory on uninstall
Diffstat (limited to 'config/havp')
-rw-r--r-- | config/havp/havp.inc | 3 |
1 files changed, 3 insertions, 0 deletions
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(); } /* |