Skip to content

Commit

Permalink
[sociald] Cleanup sync profiles of sociald on pre installation. Fixes…
Browse files Browse the repository at this point in the history
… JB#11675

After installation restart msyncd service.
  • Loading branch information
Raine Makelainen committed Oct 25, 2013
1 parent f908bdd commit 1d3c806
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions rpm/sociald.spec
Expand Up @@ -88,6 +88,20 @@ Translation source for sociald
%qmake5
make %{?jobs:-j%jobs}

%pre
rm -f /home/nemo/.cache/msyncd/sync/client/sociald.xml
rm -f /home/nemo/.cache/msyncd/sync/facebook.Calendars.xml
rm -f /home/nemo/.cache/msyncd/sync/facebook.Contacts.xml
rm -f /home/nemo/.cache/msyncd/sync/facebook.Images.xml
rm -f /home/nemo/.cache/msyncd/sync/facebook.Notifications.xml
rm -f /home/nemo/.cache/msyncd/sync/facebook.Posts.xml
rm -f /home/nemo/.cache/msyncd/sync/twitter.Notifications.xml
rm -f /home/nemo/.cache/msyncd/sync/twitter.Posts.xml
rm -f /home/nemo/.cache/msyncd/sync/google.Contacts.xml

%install
rm -rf %{buildroot}
%qmake5_install

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

0 comments on commit 1d3c806

Please sign in to comment.