summaryrefslogtreecommitdiff
path: root/Master/bin/powerpc-aix
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-08 18:03:23 +0000
committerKarl Berry <karl@freefriends.org>2008-07-08 18:03:23 +0000
commit6bcfc31b06afaedd804ede1a8a0ab7d8dde8d4c8 (patch)
tree6b41c6b74dfd216dc4c0fc6a59b6a021c7d6cf34 /Master/bin/powerpc-aix
parent21901ea0d6091fd5ab44f7cf2b518c73b556ff27 (diff)
disable hyphen and formats commands, language.dat/def and fmtutil.cnf must not be manually edited
git-svn-id: svn://tug.org/texlive/trunk@9380 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/powerpc-aix')
-rwxr-xr-xMaster/bin/powerpc-aix/texconfig38
1 files changed, 34 insertions, 4 deletions
diff --git a/Master/bin/powerpc-aix/texconfig b/Master/bin/powerpc-aix/texconfig
index b2129f8814a..4357d1b9b99 100755
--- a/Master/bin/powerpc-aix/texconfig
+++ b/Master/bin/powerpc-aix/texconfig
@@ -1,7 +1,8 @@
#!/bin/sh
# TeXConfig version 3.0
-# Thomas Esser, te@dbs.uni-hannover.de. Public domain.
+# Originally written by Thomas Esser. Public domain.
+# Now maintained as part of TeX Live; correspondence to tex-live@tug.org.
# invoke the right shell:
@@ -24,7 +25,7 @@ test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
progname=texconfig
# the version string
-version=20080505.2038
+version=20080708.1050
envVars="
AFMFONTS BIBINPUTS BSTINPUTS CMAPFONTS CWEBINPUTS ENCFONTS GFFONTS
@@ -562,9 +563,7 @@ Usage: $progname conf (show configuration information)
$progname font vardir DIR
$progname font ro
$progname font rw
- $progname formats (edit fmtutil.cnf)
$progname help (or --help; show this help)
- $progname hyphen FORMAT (edit hyphenation config for FORMAT)
$progname init [FORMAT]... (rebuild FORMATs, or all formats
plus run texlinks and updmap)
$progname mode MODE (set Metafont MODE)
@@ -1005,6 +1004,21 @@ For more information about these \`features', consult the teTeX manual
;;
formats)
+ cat >&2 <<EOM
+texconfig formats is no longer supported, because manual edits of
+fmtutil.cnf will be overwritten by the new TeX Live package manager,
+tlmgr, which regenerates that file as needed upon package changes.
+Thus, to add or remove formats, the recommended method is to use tlmgr
+to add or remove the appropriate package.
+
+If you need to make manual additions, you can edit the file
+fmtutil-local.cnf under TEXMFLOCAL. Further information with
+tlmgr --help and at http://tug.org/texlive/tlmgr.html.
+
+Exiting.
+EOM
+ exit 1 # but leave the real code for posterity
+
setupTmpDir
echo "$progname: analyzing old configuration..." >&2
fmtutil --catcfg > $tmpdir/pre
@@ -1030,6 +1044,22 @@ For more information about these \`features', consult the teTeX manual
# "hyphen FORMAT"
hyphen)
+ cat >&2 <<EOM
+texconfig hyphen is no longer supported, because manual edits of
+language.dat (or language.def) will be overwritten by the new TeX Live
+package manager, tlmgr, which regenerates those configuration files as
+needed upon package changes. Thus, to add or remove hyphenation
+patterns, the recommended method is to use tlmgr to add or remove the
+appropriate package.
+
+If you need to make manual additions, you can edit the files
+language-local.dat and language-local.def under TEXMFLOCAL. Further
+information with tlmgr --help and at http://tug.org/texlive/tlmgr.html.
+
+Exiting.
+EOM
+ exit 1 # but leave the real code for posterity
+
tcBatchHyphenFormat=$2
formatsForHyphen=`getFormatsForHyphen`
formatsForHyphenFmt=`echo "$formatsForHyphen" | myFmt | sed 's@^@ @'`