aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pfstat.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pfstat.xml')
-rw-r--r--packages/pfstat.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pfstat.xml b/packages/pfstat.xml
index ec4756fd..a4cbb1ee 100644
--- a/packages/pfstat.xml
+++ b/packages/pfstat.xml
@@ -268,8 +268,8 @@
system("/usr/sbin/cron 2>/dev/null");
</custom_php_install_command>
<custom_php_deinstall_command>
- system("rm /usr/local/etc/pfstat 2>/dev/null");
- system("rm -rf /usr/local/www/pfstat* 2>/dev/null");
+ unlink_if_exists("/usr/local/etc/pfstat");
+ rmdir_recursive("/usr/local/www/pfstat");
</custom_php_deinstall_command>
<!--
<custom_php_install_command>