]> 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:06:59 +0000 (14:06 +0200)
centos/rspamd.spec

index 52bf31ea30789d8ae7f7d3d057051756ac357a88..2b5290f05ccde8eae3311ab19dd3e87fd9dca056 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