1
0
Dr. Werner Fink 2021-04-26 15:37:23 +00:00 committed by Git OBS Bridge
parent fbfb1072d2
commit 4006d12739
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 26 15:36:21 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Force updmap-sys to sync trees
-------------------------------------------------------------------
Tue Apr 13 09:13:34 UTC 2021 - Dr. Werner Fink <werner@suse.de>

View File

@ -112,6 +112,7 @@ type -p sed &> /dev/null || { echo "${0##*/}: No sed in PATH ... skipping" 1>&2
type -p tr &> /dev/null || { echo "${0##*/}: No tr in PATH ... skipping" 1>&2; exit 0 ; }
type -p grep &> /dev/null || { echo "${0##*/}: No grep in PATH ... skipping" 1>&2; exit 0 ; }
type -p ed &> /dev/null || { echo "${0##*/}: No ed in PATH ... skipping" 1>&2; exit 0 ; }
type -p yes &> /dev/null || { echo "${0##*/}: No yes in PATH ... skipping" 1>&2; exit 0 ; }
# Be sure that configuring in /etc/texmf will work even if
# there are files relative to /etc/texmf ...
@ -554,7 +555,7 @@ for run in /var/run/texlive/run-updmap* ; do
done < $run
mktexlsr < /dev/null 1>&4 2>&4
let rc+=$?
updmap-sys --cnffile $cnf_umap --nohash --syncwithtrees < /dev/null 1>&4 2>&4
yes | updmap-sys --cnffile $cnf_umap --nohash --syncwithtrees < /dev/null 1>&4 2>&4
let rc+=$?
enablemaps $cnf_umap < /dev/null 1>&4 2>&4
let rc+=$?
@ -574,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+=$?
updmap-sys --cnffile $cnf_umap --nohash --syncwithtrees < /dev/null 1>&4 2>&4
yes | updmap-sys --cnffile $cnf_umap --nohash --syncwithtrees < /dev/null 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