]> source.dussan.org Git - rspamd.git/commitdiff
RPM: don't break rspamd on upgrade
authorAndrew Lewis <nerf@judo.za.org>
Thu, 12 Mar 2015 12:06:59 +0000 (14:06 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Thu, 12 Mar 2015 12:07:41 +0000 (14:07 +0200)
centos/rspamd.spec

index c9d5391829e65c1dd0eba210b49aa25fc9abf1c3..6852c98dbf5346131799adfe301afb7827ba2006 100644 (file)
@@ -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