net-misc/electrum-ltc: fix icon cache update

Closes: https://bugs.gentoo.org/793701
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-04-05 07:51:47 +01:00
parent 5af8565fc4
commit b35fea7fd5

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -6,7 +6,7 @@ EAPI="7"
PYTHON_COMPAT=( python3_8 )
PYTHON_REQ_USE="ncurses?"
inherit desktop distutils-r1 gnome2-utils xdg-utils
inherit desktop distutils-r1 xdg
EGIT_COMMIT="${PV}"
DESCRIPTION="Litecoin thin client"
@@ -141,17 +141,3 @@ src_install() {
doicon -s 128 ${PN/-/_}/gui/icons/${PN}.png
distutils-r1_src_install
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
xdg_desktop_database_update
}