From: Jeroen Roovers Date: Mon, 25 Sep 2017 14:46:28 +0000 (+0200) Subject: www-client/otter: Run things in pkg_postinst()/pkg_postrm(). X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=dd9224fd5a5dc0ef0fc025b67f266063bdcd92de;p=gentoo.git www-client/otter: Run things in pkg_postinst()/pkg_postrm(). Package-Manager: Portage-2.3.10, Repoman-2.3.3 --- diff --git a/www-client/otter/otter-0.9.12.ebuild b/www-client/otter/otter-0.9.12.ebuild index 123171f63030..a2e32ebc01dc 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 fdb1f94ba3ad..012c8341b636 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 +}