summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2024-04-02 16:05:09 +0200
committerFlorian Schmaus <flow@gentoo.org>2024-04-03 19:34:44 +0200
commitcf771111d7518def4b0ab7ff586eb51b65d18967 (patch)
tree01bb04df0590232a0406165949d976b0109d8302 /eclass
parentnet-p2p/bitcoin-core: bump to 26.1 (diff)
downloadgentoo-cf771111d7518def4b0ab7ff586eb51b65d18967.tar.gz
gentoo-cf771111d7518def4b0ab7ff586eb51b65d18967.tar.bz2
gentoo-cf771111d7518def4b0ab7ff586eb51b65d18967.zip
texlive-module.eclass: only invoke etexmf-update in postinst if not replacing versions
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/texlive-module.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass
index 9fc4e619ff9b..14e3280128a8 100644
--- a/eclass/texlive-module.eclass
+++ b/eclass/texlive-module.eclass
@@ -438,7 +438,7 @@ texlive-module_pkg_postinst() {
# installed texmf trees.
texlive-module_pkg_postrm() {
- etexmf-update
+ [[ -z ${REPLACED_BY_VERSION} ]] && etexmf-update
}
fi