diff --git a/app-misc/lf/lf-27.ebuild b/app-misc/lf/lf-27.ebuild index 70aa483cb7..345900a6c3 100644 --- a/app-misc/lf/lf-27.ebuild +++ b/app-misc/lf/lf-27.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit go-module bash-completion-r1 desktop +inherit go-module bash-completion-r1 desktop xdg-utils SRC_URI="https://github.com/gokcehan/lf/archive/r${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" https://github.com/cantcuckthis/gentoo-lf/raw/main/${P}-deps.tar.xz" @@ -56,3 +56,13 @@ src_install() { domenu "${PN}.desktop" } + +src_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +src_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +}