sci-electronics/gerbv: Add missing gnome2_icon_cache_update
authorThomas Beierlein <tomjbe@gentoo.org>
Thu, 28 Dec 2017 12:49:15 +0000 (13:49 +0100)
committerThomas Beierlein <tomjbe@gentoo.org>
Thu, 28 Dec 2017 12:51:08 +0000 (13:51 +0100)
Additional migrate to xdg-utils
Thanks for reporting jstein.

CLoses: https://bugs.gentoo.org/642468
Package-Manager: Portage-2.3.19, Repoman-2.3.6

sci-electronics/gerbv/gerbv-2.6.1.ebuild

index 533305d55d4064d4c5cdc02b201b6582c6277b6e..87f4879d83458a8316b207b35105d84f1f2b7bf6 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
-inherit autotools eutils fdo-mime
+inherit autotools eutils gnome2-utils xdg-utils
 
 DESCRIPTION="A RS-274X (Gerber) and NC drill (Excellon) file viewer"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
@@ -57,9 +57,11 @@ src_install () {
 }
 
 pkg_postinst() {
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
+       gnome2_icon_cache_update
 }
 
 pkg_postrm() {
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
+       gnome2_icon_cache_update
 }