From 3c2b37e337cfce35af4d85159d440f27580650d7 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Thu, 12 Mar 2015 14:06:59 +0200 Subject: [PATCH] RPM: don't break rspamd on upgrade --- centos/rspamd.spec | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5