forked from pool/texlive-filesystem
.
OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=35
This commit is contained in:
parent
c8dff946d0
commit
d163214694
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 5 10:24:25 UTC 2013 - werner@suse.de
|
||||
|
||||
- Refresh formats if required
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 30 16:14:46 UTC 2013 - werner@suse.de
|
||||
|
||||
|
@ -193,6 +193,8 @@ enablemaps ()
|
||||
for run in /var/run/texlive/run-fmtutil* ; do
|
||||
test -e $run || break
|
||||
type -p fmtutil-sys &> /dev/null || { echo "${0##*/}: No fmtutil-sys in PATH ... skipping" 1>&2; break; }
|
||||
option=""
|
||||
test $VERBOSE = true || option="--quiet"
|
||||
case "${run#*fmtutil.}" in
|
||||
language)
|
||||
test -n "${cnf_ldat}" -a -n "${cnf_ldef}" || continue
|
||||
@ -201,18 +203,25 @@ for run in /var/run/texlive/run-fmtutil* ; do
|
||||
set -- $(md5sum < ${cnf_ldef})
|
||||
echo $1 > ${md5_ldef}
|
||||
test $VERBOSE = true && echo -en "\r[ ]Handle language.dat setups."
|
||||
fmtutil-sys --byhyphen ${cnf_ldat} < /dev/null 1>&4 2>&4
|
||||
fmtutil-sys ${option:+$option} --byhyphen ${cnf_ldat} < /dev/null 1>&4 2>&4
|
||||
let rc+=$?
|
||||
test $VERBOSE = true && echo
|
||||
test $VERBOSE = true && echo -en "\r[ ]Handle language.def setups."
|
||||
fmtutil-sys --byhyphen ${cnf_ldef} < /dev/null 1>&4 2>&4
|
||||
fmtutil-sys ${option:+$option} --byhyphen ${cnf_ldef} < /dev/null 1>&4 2>&4
|
||||
let rc+=$?
|
||||
test $VERBOSE = true && echo
|
||||
((rc != 0)) || rm -f /var/run/texlive/run-fmtutil.language
|
||||
;;
|
||||
refresh)
|
||||
test $VERBOSE = true && echo -en "\r[ ]Refresh TeX formats."
|
||||
fmtutil-sys ${option:+$option} --refresh < /dev/null 1>&4 2>&4
|
||||
let rc+=$?
|
||||
test $VERBOSE = true && echo
|
||||
((rc != 0)) || rm -f /var/run/texlive/run-fmtutil.refresh
|
||||
;;
|
||||
*)
|
||||
test $VERBOSE = true && echo -en "\r[ ]Updating TeX formats."
|
||||
fmtutil-sys --missing < /dev/null 1>&4 2>&4
|
||||
fmtutil-sys ${option:+$option} --missing < /dev/null 1>&4 2>&4
|
||||
let rc+=$?
|
||||
test $VERBOSE = true && echo
|
||||
((rc != 0)) || rm -f /var/run/texlive/run-fmtutil
|
||||
|
Loading…
x
Reference in New Issue
Block a user