commit:     fa55ec80af6d90d93960b4bc32e4c4005870c716
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  2 09:07:02 2018 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Jan  2 09:07:13 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa55ec80

net-ftp/filezilla: add gnome2_icon_cache_update()

Closes: https://bugs.gentoo.org/641018
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-ftp/filezilla/filezilla-3.25.2-r1.ebuild | 12 ++++++++++--
 net-ftp/filezilla/filezilla-3.25.2.ebuild    | 12 ++++++++++--
 2 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/net-ftp/filezilla/filezilla-3.25.2-r1.ebuild 
b/net-ftp/filezilla/filezilla-3.25.2-r1.ebuild
index 27a892849da..a39e198691d 100644
--- a/net-ftp/filezilla/filezilla-3.25.2-r1.ebuild
+++ b/net-ftp/filezilla/filezilla-3.25.2-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 WX_GTK_VER="3.0-gtk3"
 
-inherit autotools eutils flag-o-matic multilib wxwidgets
+inherit autotools eutils flag-o-matic gnome2-utils multilib wxwidgets
 
 MY_PV=${PV/_/-}
 MY_P="FileZilla_${MY_PV}"
@@ -66,3 +66,11 @@ src_configure() {
                --with-pugixml=system \
                --disable-autoupdatecheck
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

diff --git a/net-ftp/filezilla/filezilla-3.25.2.ebuild 
b/net-ftp/filezilla/filezilla-3.25.2.ebuild
index 9273ca52e53..61eb63e204b 100644
--- a/net-ftp/filezilla/filezilla-3.25.2.ebuild
+++ b/net-ftp/filezilla/filezilla-3.25.2.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 WX_GTK_VER="3.0"
 
-inherit autotools eutils flag-o-matic multilib wxwidgets
+inherit autotools eutils flag-o-matic gnome2-utils multilib wxwidgets
 
 MY_PV=${PV/_/-}
 MY_P="FileZilla_${MY_PV}"
@@ -66,3 +66,11 @@ src_configure() {
                --with-pugixml=system \
                --disable-autoupdatecheck
 }
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to