From f251ab0230f899915bbd0b91bd245ffb5f15a44f Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 20 Mar 2006 02:29:44 +0000 Subject: Run conf_mount_rw() during deinstall --- packages/spamd.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages') diff --git a/packages/spamd.inc b/packages/spamd.inc index 6b2f7f0d..6cfd8492 100644 --- a/packages/spamd.inc +++ b/packages/spamd.inc @@ -188,9 +188,11 @@ function custom_php_install_command() { function custom_php_deinstall_command() { global $config, $g; + conf_mount_rw(); unlink_if_exists("/usr/local/pkg/pf/spamd_rules.php"); unlink_if_exists("/usr/local/www/spamd_rules.php"); unlink_if_exists("/usr/local/etc/rc.d/spamd.sh"); + conf_mount_ro(); } ?> \ No newline at end of file -- cgit v1.2.3