forked from pool/texlive-filesystem
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:
parent
fc86d95d92
commit
2e940cff11
@ -35,8 +35,7 @@ test -d /var/run/texlive || exit 0
|
|||||||
typeset -r OLDIFS="$IFS"
|
typeset -r OLDIFS="$IFS"
|
||||||
typeset -i rc=0
|
typeset -i rc=0
|
||||||
typeset -i nl=0
|
typeset -i nl=0
|
||||||
#: ${VERBOSE=true}
|
: ${VERBOSE=true}
|
||||||
: ${VERBOSE=debug}
|
|
||||||
umask 022
|
umask 022
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -556,7 +555,7 @@ for run in /var/run/texlive/run-updmap* ; do
|
|||||||
done < $run
|
done < $run
|
||||||
mktexlsr < /dev/null 1>&4 2>&4
|
mktexlsr < /dev/null 1>&4 2>&4
|
||||||
let rc+=$?
|
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+=$?
|
let rc+=$?
|
||||||
enablemaps $cnf_umap < /dev/null 1>&4 2>&4
|
enablemaps $cnf_umap < /dev/null 1>&4 2>&4
|
||||||
let rc+=$?
|
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++; }
|
test $VERBOSE = true && { echo -en "\r[ ]Updating TeX font mappings."; let nl++; }
|
||||||
mktexlsr < /dev/null 1>&4 2>&4
|
mktexlsr < /dev/null 1>&4 2>&4
|
||||||
let rc+=$?
|
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+=$?
|
let rc+=$?
|
||||||
enablemaps $cnf_umap < /dev/null 1>&4 2>&4
|
enablemaps $cnf_umap < /dev/null 1>&4 2>&4
|
||||||
updmap-sys --cnffile $cnf_umap --nohash < /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