mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
net-p2p/trezord-go: call udev_reload in pkg_postinst and pkg_postrm
Closes: https://bugs.gentoo.org/843002 Signed-off-by: Michael Egger <egger.m@protonmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit go-module systemd udev
|
||||
|
||||
@@ -63,3 +63,11 @@ src_install() {
|
||||
use systemd && systemd_dounit release/linux/trezord.service
|
||||
use udev && udev_dorules release/linux/trezor.rules
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use udev && udev_reload
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use udev && udev_reload
|
||||
}
|
||||
Reference in New Issue
Block a user