From ad07bfe7e54b242afd5df4741fbe60851cf18408 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 25 Aug 2015 12:03:14 +0200 Subject: Fix things ordering here. Cannot run the package otherwise, need the user/group first. --- config/spamd/spamd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/spamd') diff --git a/config/spamd/spamd.inc b/config/spamd/spamd.inc index bceafd09..6a6b7ca5 100644 --- a/config/spamd/spamd.inc +++ b/config/spamd/spamd.inc @@ -284,9 +284,9 @@ function custom_php_install_command() { global $config, $g; system("touch /var/db/whitelist.txt"); system("touch /var/db/blacklist.txt"); - sync_package_spamd(); exec("/usr/sbin/pw usermod _spamd -g proxy -G _spamd,proxy"); exec("/bin/cp /usr/local/etc/spamd/spamd.conf.sample /usr/local/etc/spamd/spamd.conf"); + sync_package_spamd(); } function custom_php_deinstall_command() { -- cgit v1.2.3