Skip to content

Commit

Permalink
[packaging] Make sure rpm post doesn't prevent installation in any ci…
Browse files Browse the repository at this point in the history
…rcumstance. Contributes to JB#15597.

Signed-off-by: Marko Saukko <marko.saukko@jollamobile.com>
  • Loading branch information
Marko Saukko committed Feb 19, 2014
1 parent 784edae commit b3d6ec9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rpm/sociald.spec
Expand Up @@ -35,6 +35,8 @@ Requires: buteo-syncfw-qt5-msyncd
Requires: mkcal-qt5
Obsoletes: buteo-sync-plugins-google-simple <= 0.0.2
Provides: buteo-sync-plugins-google-simple
Requires: systemd
Requires(post): systemd

%description
A daemon process which provides data synchronization with various social services.
Expand Down Expand Up @@ -121,4 +123,5 @@ rm -rf %{buildroot}
%qmake5_install

%post
su nemo -c "systemctl --user restart msyncd.service"
systemctl-user restart msyncd.service || :

0 comments on commit b3d6ec9

Please sign in to comment.