summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-11-14 22:46:57 +0100
committerDavid Seifert <soap@gentoo.org>2020-11-14 22:46:57 +0100
commitf6257395aeccb4f9d8efd891def6069f753c1183 (patch)
tree052785ccd9bbafa18982b30d2155040ad2765a48 /app-misc/ranger/ranger-9999.ebuild
parentapp-misc/gcstar: port to xdg eclass (update mimeinfo cache) (diff)
downloadgentoo-f6257395aeccb4f9d8efd891def6069f753c1183.tar.gz
gentoo-f6257395aeccb4f9d8efd891def6069f753c1183.tar.bz2
gentoo-f6257395aeccb4f9d8efd891def6069f753c1183.zip
app-misc/ranger: update desktop mimeinfo cache
Closes: https://bugs.gentoo.org/745015 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-misc/ranger/ranger-9999.ebuild')
-rw-r--r--app-misc/ranger/ranger-9999.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-misc/ranger/ranger-9999.ebuild b/app-misc/ranger/ranger-9999.ebuild
index 40ee38f4602b..2a728ea15449 100644
--- a/app-misc/ranger/ranger-9999.ebuild
+++ b/app-misc/ranger/ranger-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=7
PYTHON_COMPAT=( python3_{6..9} )
PYTHON_REQ_USE="ncurses"
-inherit distutils-r1
+inherit distutils-r1 xdg
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/ranger/ranger.git"
@@ -32,6 +32,8 @@ src_prepare() {
}
pkg_postinst() {
+ xdg_pkg_postinst
+
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "Ranger has many optional dependencies to support enhanced file previews."
elog "See the README or homepage for more details."