1 |
commit: a691073d59335830c3087f674ddd4a9f67d94c0c |
2 |
Author: Marcin Deranek <marcin.deranek <AT> slonko <DOT> net> |
3 |
AuthorDate: Sun Jul 24 11:28:20 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 17 16:17:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a691073d |
7 |
|
8 |
media-gfx/iscan: Reload udev rules on (un)install |
9 |
|
10 |
Signed-off-by: Marcin Deranek <marcin.deranek <AT> slonko.net> |
11 |
Closes: https://bugs.gentoo.org/859631 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/26564 |
13 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
14 |
|
15 |
media-gfx/iscan/iscan-3.65.0.ebuild | 2 ++ |
16 |
1 file changed, 2 insertions(+) |
17 |
|
18 |
diff --git a/media-gfx/iscan/iscan-3.65.0.ebuild b/media-gfx/iscan/iscan-3.65.0.ebuild |
19 |
index 4d767c95e653..e5b00fcd6f87 100644 |
20 |
--- a/media-gfx/iscan/iscan-3.65.0.ebuild |
21 |
+++ b/media-gfx/iscan/iscan-3.65.0.ebuild |
22 |
@@ -94,11 +94,13 @@ src_install() { |
23 |
} |
24 |
|
25 |
pkg_postinst() { |
26 |
+ udev_reload |
27 |
use gui && xdg_icon_cache_update |
28 |
elog "If you encounter problems with media-gfx/xsane when scanning (e.g., bad resolution)," |
29 |
elog "please try the built-in GUI and kde-misc/skanlite first before reporting bugs." |
30 |
} |
31 |
|
32 |
pkg_postrm() { |
33 |
+ udev_reload |
34 |
use gui && xdg_icon_cache_update |
35 |
} |