summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-10-28 13:40:43 +0200
committerJeroen Roovers <jer@gentoo.org>2017-10-28 13:40:43 +0200
commitbe164d358a91a5dc45a5c1e0258c9699faf71e7c (patch)
tree1ff856be836564488c51a36ccc4f193a60edf149 /www-client/opera-beta
parentwww-client/vivaldi: Update icon cache, desktop database (bug #635568). (diff)
downloadgentoo-be164d358a91a5dc45a5c1e0258c9699faf71e7c.tar.gz
gentoo-be164d358a91a5dc45a5c1e0258c9699faf71e7c.tar.bz2
gentoo-be164d358a91a5dc45a5c1e0258c9699faf71e7c.zip
www-client/opera-beta: Update icon cache, desktop database, mime-info cache.
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'www-client/opera-beta')
-rw-r--r--www-client/opera-beta/opera-beta-49.0.2725.27-r1.ebuild (renamed from www-client/opera-beta/opera-beta-49.0.2725.27.ebuild)18
1 files changed, 17 insertions, 1 deletions
diff --git a/www-client/opera-beta/opera-beta-49.0.2725.27.ebuild b/www-client/opera-beta/opera-beta-49.0.2725.27-r1.ebuild
index c125ba2ec2ad..96ac80993a41 100644
--- a/www-client/opera-beta/opera-beta-49.0.2725.27.ebuild
+++ b/www-client/opera-beta/opera-beta-49.0.2725.27-r1.ebuild
@@ -7,7 +7,7 @@ CHROMIUM_LANGS="
ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi
zh-CN zh-TW
"
-inherit chromium-2 multilib unpacker
+inherit chromium-2 gnome2-utils multilib unpacker xdg-utils
DESCRIPTION="A fast and secure web browser"
HOMEPAGE="http://www.opera.com/"
@@ -96,3 +96,19 @@ src_install() {
dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox
}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}