forked from pool/texlive-filesystem
Force updmap to sync trees
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=147
This commit is contained in:
parent
fbfb1072d2
commit
4006d12739
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user