Force updmap to sync trees, second

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=149
This commit is contained in:
Dr. Werner Fink 2021-04-26 16:44:08 +00:00 committed by Git OBS Bridge
parent fc86d95d92
commit 2e940cff11

View File

@ -35,8 +35,7 @@ test -d /var/run/texlive || exit 0
typeset -r OLDIFS="$IFS"
typeset -i rc=0
typeset -i nl=0
#: ${VERBOSE=true}
: ${VERBOSE=debug}
: ${VERBOSE=true}
umask 022
#
@ -556,7 +555,7 @@ for run in /var/run/texlive/run-updmap* ; do
done < $run
mktexlsr < /dev/null 1>&4 2>&4
let rc+=$?
yes | updmap-sys --cnffile $cnf_umap --nohash --syncwithtrees < /dev/null 1>&4 2>&4
updmap-sys --cnffile $cnf_umap --nohash --syncwithtrees < <(yes) 1>&4 2>&4
let rc+=$?
enablemaps $cnf_umap < /dev/null 1>&4 2>&4
let rc+=$?
@ -576,7 +575,7 @@ for run in /var/run/texlive/sync-updmap* ; do
test $VERBOSE = true && { echo -en "\r[ ]Updating TeX font mappings."; let nl++; }
mktexlsr < /dev/null 1>&4 2>&4
let rc+=$?
yes | updmap-sys --cnffile $cnf_umap --nohash --syncwithtrees < /dev/null 1>&4 2>&4
updmap-sys --cnffile $cnf_umap --nohash --syncwithtrees < <(yes) 1>&4 2>&4
let rc+=$?
enablemaps $cnf_umap < /dev/null 1>&4 2>&4
updmap-sys --cnffile $cnf_umap --nohash < /dev/null 1>&4 2>&4