commit:     8cca996eb349f47570b0ab4e24330afe1c87b899
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 27 22:17:01 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Sep 27 22:17:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cca996e

www-client/firefox: call xdg_desktop_database_update during pkg_postrm

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 www-client/firefox/firefox-60.2.1-r1.ebuild | 4 ++--
 www-client/firefox/firefox-62.0.2.ebuild    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/www-client/firefox/firefox-60.2.1-r1.ebuild 
b/www-client/firefox/firefox-60.2.1-r1.ebuild
index 142e976023d..1b5bd9fb727 100644
--- a/www-client/firefox/firefox-60.2.1-r1.ebuild
+++ b/www-client/firefox/firefox-60.2.1-r1.ebuild
@@ -383,9 +383,8 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       # Update mimedb for the new .desktop file
-       xdg_desktop_database_update
        gnome2_icon_cache_update
+       xdg_desktop_database_update
 
        if ! use gmp-autoupdate && ! use eme-free ; then
                elog "USE='-gmp-autoupdate' has disabled the following plugins 
from updating or"
@@ -405,4 +404,5 @@ pkg_postinst() {
 
 pkg_postrm() {
        gnome2_icon_cache_update
+       xdg_desktop_database_update
 }

diff --git a/www-client/firefox/firefox-62.0.2.ebuild 
b/www-client/firefox/firefox-62.0.2.ebuild
index 5bfc9143834..75452a757c0 100644
--- a/www-client/firefox/firefox-62.0.2.ebuild
+++ b/www-client/firefox/firefox-62.0.2.ebuild
@@ -580,9 +580,8 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       # Update mimedb for the new .desktop file
-       xdg_desktop_database_update
        gnome2_icon_cache_update
+       xdg_desktop_database_update
 
        if ! use gmp-autoupdate && ! use eme-free ; then
                elog "USE='-gmp-autoupdate' has disabled the following plugins 
from updating or"
@@ -602,4 +601,5 @@ pkg_postinst() {
 
 pkg_postrm() {
        gnome2_icon_cache_update
+       xdg_desktop_database_update
 }

Reply via email to