diff --git a/update.texlive b/update.texlive index 3068792..91043a3 100644 --- a/update.texlive +++ b/update.texlive @@ -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