commit:     dd81143d06785ffbe0f9d8c3a0b244b750945434
Author:     Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
AuthorDate: Sun Apr  8 10:25:35 2018 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Apr  8 18:59:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd81143d

java-vm-2.eclass: fdo-mime->xdg-utils migration

This is the only eclass left which uses it. Switch over.

Package-Manager: Portage-2.3.28, Repoman 2.3.9

 eclass/java-vm-2.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/java-vm-2.eclass b/eclass/java-vm-2.eclass
index 9deef1c8eed..82cfe4d3e3e 100644
--- a/eclass/java-vm-2.eclass
+++ b/eclass/java-vm-2.eclass
@@ -14,7 +14,7 @@ case ${EAPI:-0} in
        *) die "EAPI=${EAPI} is not supported" ;;
 esac
 
-inherit fdo-mime multilib pax-utils prefix
+inherit multilib pax-utils prefix xdg-utils
 
 EXPORT_FUNCTIONS pkg_setup pkg_postinst pkg_prerm pkg_postrm
 
@@ -86,7 +86,7 @@ java-vm-2_pkg_postinst() {
                fi
        fi
 
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
 }
 
 
@@ -112,7 +112,7 @@ java-vm-2_pkg_prerm() {
 # Update mime database.
 
 java-vm-2_pkg_postrm() {
-       fdo-mime_desktop_database_update
+       xdg_desktop_database_update
 }
 
 

Reply via email to