diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-19 11:57:37 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-19 11:57:37 +0200 |
commit | e2720d9b6b7c4010a3c42edcbc5fe1367a8a6a0e (patch) | |
tree | 033ea2a03c894650496c7a7456c9c02e89bb38c1 /config/filemgr | |
parent | d250115a332f9470f34bb52ef6700b9f3656f197 (diff) | |
download | pfsense-packages-e2720d9b6b7c4010a3c42edcbc5fe1367a8a6a0e.tar.gz pfsense-packages-e2720d9b6b7c4010a3c42edcbc5fe1367a8a6a0e.tar.bz2 pfsense-packages-e2720d9b6b7c4010a3c42edcbc5fe1367a8a6a0e.zip |
filemgr - fixes round two
Make it clean up after itself on uninstall.
Diffstat (limited to 'config/filemgr')
-rw-r--r-- | config/filemgr/filemgr.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/filemgr/filemgr.xml b/config/filemgr/filemgr.xml index fdcf46d0..72ca53d4 100644 --- a/config/filemgr/filemgr.xml +++ b/config/filemgr/filemgr.xml @@ -184,4 +184,11 @@ <prefix>/usr/local/www/packages/filemgr/rbfminc/</prefix> <item>https://packages.pfsense.org/packages/config/filemgr/rbfminc/session.php</item> </additional_files_needed> + <custom_php_deinstall_command> + <![CDATA[ + if (is_dir("/usr/local/www/packages/filemgr")) { + mwexec("/bin/rm -rf /usr/local/www/packages/filemgr/"); + } + ]]> + </custom_php_deinstall_command> </packagegui> |