From ede41d0297f4957d7918e7b66c4d006d1c3490cf Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Fri, 11 Aug 2017 17:05:27 +0200 Subject: [PATCH] [Fix] RPM postinstall - Fixes: #1696 --- centos/rspamd.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centos/rspamd.spec b/centos/rspamd.spec index 9f2ff5f18..f080460c9 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -146,7 +146,7 @@ systemctl --no-reload preset %{name}.service >/dev/null 2>&1 || : %if 0%{?el6} /sbin/chkconfig --add %{name} %else -%{__chown} %{rspamd_user}:%{rspamd_group} %{buildroot}%{rspamd_logdir} +%{__chown} %{rspamd_user}:%{rspamd_group} %{rspamd_logdir} %endif %preun -- 2.39.5