From 39e4aede8b3546e336deb3cba8854e45a76887c7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 16 Jan 2007 00:32:56 +0000 Subject: for init, only when texlinks&&updmap if fmtutil succeeds git-svn-id: svn://tug.org/texlive/trunk@3514 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/i386-freebsd/texconfig | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'Master/bin/i386-freebsd') diff --git a/Master/bin/i386-freebsd/texconfig b/Master/bin/i386-freebsd/texconfig index 3f02cebb312..fbb1506b6ed 100755 --- a/Master/bin/i386-freebsd/texconfig +++ b/Master/bin/i386-freebsd/texconfig @@ -24,7 +24,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' progname=texconfig # the version string -version=1168206389 # 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=" @@ -629,7 +629,7 @@ Get more help with echo echo '==================== binaries found by searching $PATH ===================' echo "PATH=$PATH" - echoLocateBinary kpsewhich updmap fmtutil texconfig tex pdfetex mktexpk dvips dvipdfm + echoLocateBinary kpsewhich updmap fmtutil texconfig tex pdftex mktexpk dvips dvipdfm echo echo '=========================== active config files ==========================' echoLocateCfgfile texmf.cnf updmap.cfg fmtutil.cnf config.ps mktex.cnf XDvi pdftexconfig.tex config | sort -k 2 @@ -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 @@ -1187,7 +1191,7 @@ Valid MODE settings:" if checkForBinary dvips >/dev/null && tcfmgr --cmd find --file config.ps >/dev/null 2>&1; then tcBatch dvips mode "$tcBatchMode" fi - if checkForBinary pdfetex >/dev/null && tcfmgr --cmd find --file pdftexconfig.tex >/dev/null 2>&1; then + if checkForBinary pdftex >/dev/null && tcfmgr --cmd find --file pdftexconfig.tex >/dev/null 2>&1; then tcBatch pdftex mode "$tcBatchMode" fi else @@ -1231,7 +1235,7 @@ Valid PAPER settings: if checkForBinary xdvi >/dev/null && tcfmgr --cmd find --file XDvi >/dev/null 2>&1; then tcBatch xdvi paper $pXdvi fi - if checkForBinary pdfetex >/dev/null && tcfmgr --cmd find --file pdftexconfig.tex >/dev/null 2>&1; then + if checkForBinary pdftex >/dev/null && tcfmgr --cmd find --file pdftexconfig.tex >/dev/null 2>&1; then tcBatch pdftex paper $p fi ;; -- cgit v1.2.3