aboutsummaryrefslogtreecommitdiffstats
path: root/packages/spamd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/spamd.xml')
-rw-r--r--packages/spamd.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/spamd.xml b/packages/spamd.xml
index 625150e3..f34502e7 100644
--- a/packages/spamd.xml
+++ b/packages/spamd.xml
@@ -153,6 +153,7 @@
system("/usr/local/etc/rc.d/spamd 2>/dev/null");
</custom_php_install_command>
<custom_php_deinstall_command>
- system("/bin/rm /usr/local/pkg/spamd* /usr/local/www/spam*");
+ unlink_if_exists("/usr/local/pkg/spamd*");
+ unlink_if_exists("/usr/local/www/spam*");
</custom_php_deinstall_command>
</packagegui>