net-misc/electrum: Fix icon cache update
authorMichał Górny <mgorny@gentoo.org>
Wed, 31 Jul 2019 02:53:01 +0000 (04:53 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 31 Jul 2019 02:53:01 +0000 (04:53 +0200)
Closes: https://bugs.gentoo.org/691040
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-misc/electrum/electrum-3.3.6-r1.ebuild

index 330ad0367b470f9eed6f1708389d5e6af0c04bb0..f1295df3d32202bc339911834740774a1380d052 100644 (file)
@@ -6,7 +6,7 @@ EAPI="7"
 PYTHON_COMPAT=( python3_6 )
 PYTHON_REQ_USE="ncurses?"
 
-inherit desktop distutils-r1 gnome2-utils xdg-utils
+inherit desktop distutils-r1 xdg-utils
 
 MY_P="Electrum-${PV}"
 DESCRIPTION="User friendly Bitcoin client"
@@ -163,16 +163,12 @@ src_install() {
        distutils-r1_src_install
 }
 
-pkg_preinst() {
-       gnome2_icon_savelist
-}
-
 pkg_postinst() {
-       gnome2_icon_cache_update
+       xdg_icon_cache_update
        xdg_desktop_database_update
 }
 
 pkg_postrm() {
-       gnome2_icon_cache_update
+       xdg_icon_cache_update
        xdg_desktop_database_update
 }