+ switcheroo-control-2.0-2

Fix post scripts not reloading service file
This commit is contained in:
Bastien Nocera 2019-11-21 16:57:08 +01:00
parent 8580b0e06c
commit dac17ff8cc

View File

@ -1,6 +1,6 @@
Name: switcheroo-control
Version: 2.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: D-Bus service to check the availability of dual-GPU
License: GPLv3
@ -41,6 +41,9 @@ This package contains the documentation for %{name}.
%post
if [ $1 -eq 2 ] && [ -x /usr/bin/systemctl ] ; then
/usr/bin/systemctl daemon-reload
fi
%systemd_post switcheroo-control.service
%udev_hwdb_update
@ -65,6 +68,10 @@ This package contains the documentation for %{name}.
%{_datadir}/gtk-doc/html/%{name}/
%changelog
* Thu Nov 21 2019 Bastien Nocera <bnocera@redhat.com> - 2.0-2
+ switcheroo-control-2.0-2
- Fix post scripts not reloading service file
* Tue Nov 05 2019 Bastien Nocera <bnocera@redhat.com> - 2.0-1
+ switcheroo-control-2.0-1
- Update to 2.0