diff options
author | Pacho Ramos <pacho@gentoo.org> | 2022-07-09 16:43:29 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2022-07-09 16:43:29 +0200 |
commit | 12c224ecede8c225a12ac185ffc987576f7031ac (patch) | |
tree | 672b6dfb8dd8e972091b74810f6bba934a89a9bb /x11-misc | |
parent | kde-frameworks/kross: 5.96.0 version bump (diff) | |
download | gentoo-12c224ecede8c225a12ac185ffc987576f7031ac.tar.gz gentoo-12c224ecede8c225a12ac185ffc987576f7031ac.tar.bz2 gentoo-12c224ecede8c225a12ac185ffc987576f7031ac.zip |
x11-misc/bumblebee: Call udev_reload
Closes: https://bugs.gentoo.org/852782
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild | 12 | ||||
-rw-r--r-- | x11-misc/bumblebee/bumblebee-9999.ebuild | 12 |
2 files changed, 20 insertions, 4 deletions
diff --git a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild index 25bad11dfede..b0690088fc3a 100644 --- a/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild +++ b/x11-misc/bumblebee/bumblebee-3.2.1_p20210112-r4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools readme.gentoo-r1 systemd +inherit autotools readme.gentoo-r1 systemd udev if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -91,3 +91,11 @@ src_install() { You may need to setup your /etc/bumblebee/bumblebee.conf" readme.gentoo_create_doc } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/x11-misc/bumblebee/bumblebee-9999.ebuild b/x11-misc/bumblebee/bumblebee-9999.ebuild index 4c2cecf46ce5..bd63a8594628 100644 --- a/x11-misc/bumblebee/bumblebee-9999.ebuild +++ b/x11-misc/bumblebee/bumblebee-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools readme.gentoo-r1 systemd +inherit autotools readme.gentoo-r1 systemd udev if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -91,3 +91,11 @@ src_install() { You may need to setup your /etc/bumblebee/bumblebee.conf" readme.gentoo_create_doc } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |