summaryrefslogtreecommitdiff
path: root/Master/bin/i386-freebsd/texconfig
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-01-16 00:32:56 +0000
committerKarl Berry <karl@freefriends.org>2007-01-16 00:32:56 +0000
commit39e4aede8b3546e336deb3cba8854e45a76887c7 (patch)
treef95d16c1b852679a5df0539886cda4978cc46447 /Master/bin/i386-freebsd/texconfig
parent25e1fd2e489a9ca77fe1556df830dce49baf1018 (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 'Master/bin/i386-freebsd/texconfig')
-rwxr-xr-xMaster/bin/i386-freebsd/texconfig18
1 files changed, 11 insertions, 7 deletions
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
;;