app-misc/kryoflux-dtc: call udev_reload

Closes: https://bugs.gentoo.org/924874
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki 2024-03-16 21:17:07 +01:00
parent 1840be633e
commit 13bd5b6ecc
No known key found for this signature in database
GPG Key ID: 7A96AB564BF498FB
2 changed files with 15 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -16,9 +16,9 @@ SRC_URI="
"
S="${WORKDIR}/${MY_P}"
KEYWORDS="-* amd64 x86"
LICENSE="SPS"
SLOT="0"
KEYWORDS="-* amd64 x86"
IUSE="demos doc fast-firmware gui static"
RDEPEND="
@ -94,6 +94,8 @@ pkg_postinst() {
elog "If you want to access your Kryoflux without root access,"
elog "please add yourself to the floppy group."
udev_reload
if use fast-firmware; then
elog ""
elog "You have enabled the fast firmware. Please keep in mind,"
@ -105,3 +107,12 @@ pkg_postinst() {
xdg_mimeinfo_database_update
fi
}
pkg_postrm() {
udev_reload
if use gui; then
xdg_desktop_database_update
xdg_mimeinfo_database_update
fi
}

View File

@ -1,4 +1,4 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -15,9 +15,9 @@ HOMEPAGE="https://www.kryoflux.com"
SRC_URI="https://www.kryoflux.com/download/${MY_P}.tgz"
S="${WORKDIR}/${MY_P}"
KEYWORDS="-* amd64 ~arm64"
LICENSE="SPS"
SLOT="0"
KEYWORDS="-* amd64 ~arm64"
IUSE="demos doc gui"
RDEPEND="