Remove all previous daemon data

This commit is contained in:
Matti Viljanen 2020-06-12 14:14:01 +03:00
parent cd26ad0ed6
commit 3e38f46d8e
No known key found for this signature in database
GPG key ID: CF32A1495158F888

View file

@ -81,6 +81,8 @@ su nemo -c "systemctl --user disable %{name}.service" || true
rm %{_unitdir}/%{name}-oneshot.service || true
rm %{_unitdir}/%{name}.service || true
rm %{_userunitdir}/%{name}.service || true
rm /etc/systemd/system/%{name}.service || true
rm /etc/systemd/system/%{name}-oneshot.service || true
# Install/update permission daemon (root)
cp %{_datadir}/%{name}/service/%{name}-oneshot.service %{_unitdir}/%{name}-oneshot.service