- reload system dbus to pick up policy change on install (bsc#1054429)
OBS-URL: https://build.opensuse.org/package/show/network/dnsmasq?expand=0&rev=88
This commit is contained in:
parent
13ce29f32b
commit
d7b45ae928
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 18 11:16:03 UTC 2017 - dmueller@suse.com
|
||||
|
||||
- reload system dbus to pick up policy change on install (bsc#1054429)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 4 17:29:37 UTC 2017 - martin.wilck@suse.com
|
||||
|
||||
|
@ -121,12 +121,18 @@ fi
|
||||
|
||||
%post
|
||||
%service_add_post %{name}.service
|
||||
# reload dbus after install or upgrade to apply new policies
|
||||
/usr/bin/systemctl reload dbus.service 2>/dev/null || :
|
||||
|
||||
%preun
|
||||
%service_del_preun %{name}.service
|
||||
|
||||
%postun
|
||||
%service_del_postun %{name}.service
|
||||
# reload dbus after uninstall, our policies are gone again
|
||||
if [ ${FIRST_ARG:-$1} -eq 0 ]; then
|
||||
/usr/bin/systemctl reload dbus.service 2>/dev/null || :
|
||||
fi
|
||||
|
||||
%install
|
||||
make install-i18n DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr AWK=gawk COPTS=%{_copts}
|
||||
|
Loading…
x
Reference in New Issue
Block a user