From 13bd5b6ecc9ff8645e51f1839d41385e714c2bf9 Mon Sep 17 00:00:00 2001 From: Conrad Kostecki Date: Sat, 16 Mar 2024 21:17:07 +0100 Subject: app-misc/kryoflux-dtc: call udev_reload Closes: https://bugs.gentoo.org/924874 Signed-off-by: Conrad Kostecki --- app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild | 15 +++++++++++++-- app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild | 4 ++-- 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'app-misc') diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild index 59dfb7d11bf7..206c1cc0e6dc 100644 --- a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild +++ b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild @@ -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 +} diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild index 4f0411445ae3..48383872ffef 100644 --- a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild +++ b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild @@ -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=" -- cgit v1.2.3-65-gdbad