From: Andrew Lewis Date: Thu, 12 Mar 2015 12:06:59 +0000 (+0200) Subject: RPM: don't break rspamd on upgrade X-Git-Tag: 0.8.3~12^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3c2b37e337cfce35af4d85159d440f27580650d7;p=rspamd.git RPM: don't break rspamd on upgrade --- diff --git a/centos/rspamd.spec b/centos/rspamd.spec index 52bf31ea3..2b5290f05 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -118,6 +118,8 @@ rm -rf %{buildroot} %endif %post +#to allow easy upgrade from 0.8.1 +chown -R %{rspamd_user}:%{rspamd_group} %{rspamd_home} %if 0%{?suse_version} %service_add_post %{name}.service %service_add_post %{name}.socket