mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user