diff options
author | Karl Berry <karl@freefriends.org> | 2007-01-16 00:32:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-01-16 00:32:56 +0000 |
commit | 39e4aede8b3546e336deb3cba8854e45a76887c7 (patch) | |
tree | f95d16c1b852679a5df0539886cda4978cc46447 /Build/source/texk | |
parent | 25e1fd2e489a9ca77fe1556df830dce49baf1018 (diff) |
for init, only when texlinks&&updmap if fmtutil succeeds
git-svn-id: svn://tug.org/texlive/trunk@3514 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/tetex/ChangeLog | 4 | ||||
-rwxr-xr-x | Build/source/texk/tetex/texconfig | 12 |
2 files changed, 12 insertions, 4 deletions
diff --git a/Build/source/texk/tetex/ChangeLog b/Build/source/texk/tetex/ChangeLog index 872e6009d55..6bc4f3dafe9 100644 --- a/Build/source/texk/tetex/ChangeLog +++ b/Build/source/texk/tetex/ChangeLog @@ -1,3 +1,7 @@ +2007-01-16 Karl Berry <karl@tug.org> + + * texconfig (init): only run texlinks and updmap if fmtutil succeeds. + 2007-01-14 Karl Berry <karl@tug.org> * texconfig: check for pdftex rather than pdfetex. diff --git a/Build/source/texk/tetex/texconfig b/Build/source/texk/tetex/texconfig index 7c3ced61b53..fbb1506b6ed 100755 --- a/Build/source/texk/tetex/texconfig +++ b/Build/source/texk/tetex/texconfig @@ -24,7 +24,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=texconfig # the version string -version=1168796427 # seconds since `00:00:00 1970-01-01 UTC' +version=1168907450 # seconds since `00:00:00 1970-01-01 UTC' # date '+%s' (with GNU date) envVars=" @@ -1144,9 +1144,13 @@ $formatsForHyphenFmt" init) case $2 in "") - fmtutil --all || rc=1 - texlinks --multiplatform || rc=1 - updmap || rc=1 + if fmtutil --all \ + && texlinks --multiplatform \ + && updmap --quiet; then + : + else + rc=1 + fi ;; *) shift 1 |