From: Andrew Lewis Date: Fri, 11 Aug 2017 15:05:27 +0000 (+0200) Subject: [Fix] RPM postinstall X-Git-Tag: 1.7.0~743 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6333f9b5cd3682201d4f121c63ba0b70cb4bdaff;p=rspamd.git [Fix] RPM postinstall - Fixes: #1696 --- 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