commit: dd9224fd5a5dc0ef0fc025b67f266063bdcd92de Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Mon Sep 25 14:46:28 2017 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Mon Sep 25 14:46:44 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9224fd
www-client/otter: Run things in pkg_postinst()/pkg_postrm(). Package-Manager: Portage-2.3.10, Repoman-2.3.3 www-client/otter/otter-0.9.12.ebuild | 13 +++++++++++-- www-client/otter/otter-9999.ebuild | 13 +++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/www-client/otter/otter-0.9.12.ebuild b/www-client/otter/otter-0.9.12.ebuild index 123171f6303..a2e32ebc01d 100644 --- a/www-client/otter/otter-0.9.12.ebuild +++ b/www-client/otter/otter-0.9.12.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 - -inherit eutils cmake-utils +inherit eutils cmake-utils gnome2-utils xdg-utils DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5" HOMEPAGE="http://otter-browser.org/" @@ -60,3 +59,13 @@ src_install() { cmake-utils_src_install domenu ${PN}-browser.desktop } + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} diff --git a/www-client/otter/otter-9999.ebuild b/www-client/otter/otter-9999.ebuild index fdb1f94ba3a..012c8341b63 100644 --- a/www-client/otter/otter-9999.ebuild +++ b/www-client/otter/otter-9999.ebuild @@ -2,8 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 - -inherit eutils cmake-utils git-r3 +inherit eutils cmake-utils git-r3 gnome2-utils xdg-utils DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5" HOMEPAGE="http://otter-browser.org/" @@ -51,3 +50,13 @@ src_install() { cmake-utils_src_install domenu ${PN}-browser.desktop } + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +}