www-client/firefox: call xdg_desktop_database_update during pkg_postrm
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 27 Sep 2018 22:17:01 +0000 (00:17 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 27 Sep 2018 22:17:34 +0000 (00:17 +0200)
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

www-client/firefox/firefox-60.2.1-r1.ebuild
www-client/firefox/firefox-62.0.2.ebuild

index 142e976023d39a6a08f3cac071cd28e189388d25..1b5bd9fb7273352a077a825b59bccf88b7c0bc6d 100644 (file)
@@ -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
 }
index 5bfc914383450da5e77a6f0aff6d257713638543..75452a757c032359a35dafd00f9aae402250a0da 100644 (file)
@@ -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
 }