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.9.0~511^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c376c47a9c131c46af16a793be0cb7810c870786;p=rspamd.git RPM: don't break rspamd on upgrade --- diff --git a/centos/rspamd.spec b/centos/rspamd.spec index c9d539182..6852c98db 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