www-client/otter: Run things in pkg_postinst()/pkg_postrm().

Package-Manager: Portage-2.3.10, Repoman-2.3.3
This commit is contained in:
Jeroen Roovers
2017-09-25 16:46:28 +02:00
parent fcc910ec8d
commit dd9224fd5a
2 changed files with 22 additions and 4 deletions

View File

@@ -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
}

View File

@@ -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
}