1
0
Dr. Werner Fink 2017-07-12 07:45:02 +00:00 committed by Git OBS Bridge
parent fc92c82502
commit f0d76853bf
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 12 07:41:21 UTC 2017 - werner@suse.de
- Generate/remove specific formats at installation/erease of a
package (boo#1046277)
-------------------------------------------------------------------
Tue Jul 11 12:00:53 UTC 2017 - werner@suse.de

View File

@ -416,13 +416,19 @@ for run in /var/run/texlive/run-fmtutil* ; do
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 ${option:+$option} --missing < /dev/null 1>&4 2>&4
let rc+=$?
test $VERBOSE = true && echo
((rc != 0)) || rm -f /var/run/texlive/run-fmtutil
;;
*)
test $VERBOSE = true && echo -en "\r[ ]Updating TeX format ${run#*fmtutil.}."
fmtutil-sys ${option:+$option} --byfmt "${run#*fmtutil.}" < /dev/null 1>&4 2>&4
let rc+=$?
test $VERBOSE = true && echo
((rc != 0)) || rm -f /var/run/texlive/run-fmtutil
esac
done