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