commit:     16ac66ae423a8ec84e2d4090695f1e739684b227
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  2 13:58:24 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr  2 13:58:24 2024 +0000
URL:        https://gitweb.gentoo.org/proj/tex-overlay.git/commit/?id=16ac66ae

texlive-module.eclass: only invoke etexmf-update if not installing other version

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 eclass/texlive-module.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index 1fb655b..15346a3 100644
--- a/eclass/texlive-module.eclass
+++ b/eclass/texlive-module.eclass
@@ -494,7 +494,7 @@ texlive-module_pkg_postinst() {
 # installed texmf trees.
 
 texlive-module_pkg_postrm() {
-       etexmf-update
+       [[ -z ${REPLACING_VERSIONS} ]] && etexmf-update
        texlive-module_update_tlpdb
 }
 

Reply via email to