SHA256
1
0
forked from pool/bluez

Accepting request 506117 from home:michals

Add %post/%postun to bluez-auto-enable-devices so the settings change takes effect (boo#1039476)

OBS-URL: https://build.opensuse.org/request/show/506117
OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=229
This commit is contained in:
Stefan Seyfried
2017-07-07 19:15:52 +00:00
committed by Git OBS Bridge
parent d4913ef5b2
commit d893fcd006
2 changed files with 12 additions and 0 deletions

View File

@@ -122,6 +122,12 @@ Contains configuration that automatically enables all bluetooth devices
that are connected to the system if no other tool is handling them (e.g.
desktop specific applets like blueman or GNOME or KDE applets).
%post auto-enable-devices
{ systemctl status -n0 bluetooth.service > /dev/null && systemctl restart bluetooth.service ; } ||:
%postun auto-enable-devices
{ systemctl status -n0 bluetooth.service > /dev/null && systemctl restart bluetooth.service ; } ||:
%prep
%setup -q
%patch1 -p1