summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}