app-misc/lf: Update mimeinfo cache

Signed-off-by: Dex Conner <cantcuckthis@danwin1210.de>
This commit is contained in:
Dex Conner
2022-04-11 10:17:37 +03:00
parent 0db2605c3c
commit 99b8bcab13

View File

@@ -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
}