Commit 1f3e8875 authored by Marko Saukko's avatar Marko Saukko

[packaging] Make sure the %preun and %post scripts do not fail.

Signed-off-by: default avatarMarko Saukko <marko.saukko@jollamobile.com>
parent 8190b6ec
......@@ -271,10 +271,10 @@ ln -s ../%{name}.service $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants/%
rm %{buildroot}/etc/usb-moded/dyn-modes/sync_mode.ini
%preun
systemctl daemon-reload
systemctl daemon-reload || :
%post
systemctl daemon-reload
systemctl daemon-reload || :
%files
%defattr(-,root,root,-)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment