summaryrefslogtreecommitdiff
path: root/Master/bin/i386-linux/mktexlsr
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-06-01 21:45:40 +0000
committerKarl Berry <karl@freefriends.org>2008-06-01 21:45:40 +0000
commite9dd0f31205776af90862b4d7c8408cb89bea8f4 (patch)
treee2d7c297787c9278cc047d6af5bef42ded5fcb85 /Master/bin/i386-linux/mktexlsr
parentcf4e0a0a5c6c0b5fe935b2460a14ab7f6577cc19 (diff)
at long last, install 2008-vintage i386-linux binaries
git-svn-id: svn://tug.org/texlive/trunk@8457 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-linux/mktexlsr')
-rwxr-xr-xMaster/bin/i386-linux/mktexlsr32
1 files changed, 19 insertions, 13 deletions
diff --git a/Master/bin/i386-linux/mktexlsr b/Master/bin/i386-linux/mktexlsr
index 266cf5b68e6..bd9b56b1906 100755
--- a/Master/bin/i386-linux/mktexlsr
+++ b/Master/bin/i386-linux/mktexlsr
@@ -13,12 +13,13 @@
# <te@dbs.uni-hannover.de>, Okt., 1994.
# Public domain.
-version='$Id: mktexlsr 8210 2008-05-18 17:37:05Z karl $'
+version='$Id: mktexlsr 8399 2008-05-28 22:19:34Z karl $'
progname=`echo $0 | sed 's%.*/%%'`
usage="Usage: $progname [DIR]...
-Only options are --help, --version, and --verbose. If standard input is
-a terminal, --verbose is on by default.
+The only options are --help, --version, --verbose, --quiet, and --silent.
+If standard input is a terminal, --verbose is on by default.
+--quiet and --silent are synonyms, and cancel --verbose.
Rebuild all necessary ls-R filename databases completely. If one or
more arguments DIRS are given, these are used as texmf directories to
@@ -55,17 +56,22 @@ if tty -s; then verbose=true; else verbose=false; fi
# A copy of some stuff from mktex.opt, so we can run in the presence of
# terminally damaged ls-R files.
-if test "x$1" = x--help || test "x$1" = x-help; then
- echo "$usage"
- exit 0
-elif test "x$1" = x--version || test "x$1" = x-version; then
- echo "`basename $0` $version"
- kpsewhich --version
- exit 0
-elif test "x$1" = x--verbose || test "x$1" = x-verbose; then
- verbose=true
+while test $# -gt 0; do
+ if test "x$1" = x--help || test "x$1" = x-help; then
+ echo "$usage"
+ exit 0
+ elif test "x$1" = x--version || test "x$1" = x-version; then
+ echo "`basename $0` $version"
+ kpsewhich --version
+ exit 0
+ elif test "x$1" = x--verbose || test "x$1" = x-verbose; then
+ verbose=true
+ elif test "x$1" = x--quiet || test "x$1" = x--silent \
+ || test "x$1" = x-quiet || test "x$1" = x-silent ; then
+ verbose=false
+ fi
shift
-fi
+done
# mktexupd and mktexlsr make sure they're coordinated via this. A copy
# is found mktex.opt.