commit:     13bd5b6ecc9ff8645e51f1839d41385e714c2bf9
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 20:17:07 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 20:17:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13bd5b6e

app-misc/kryoflux-dtc: call udev_reload

Closes: https://bugs.gentoo.org/924874
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 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(-)

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="

Reply via email to