diff options
author | Reinhard Kotucha <reinhard.kotucha@web.de> | 2008-06-08 15:52:03 +0000 |
---|---|---|
committer | Reinhard Kotucha <reinhard.kotucha@web.de> | 2008-06-08 15:52:03 +0000 |
commit | 9a2dacc4ca5fe811c530f8574d7ed74d45f59d10 (patch) | |
tree | 78a7d2385d7a043bd02e4ad35c00491b3f56a101 /Master/bin/x86_64-linux/texconfig-dialog | |
parent | 47246f310320be490ed8635a526c913b26f7f54f (diff) |
New binaries for x86_64-linux.
git-svn-id: svn://tug.org/texlive/trunk@8601 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/x86_64-linux/texconfig-dialog')
-rwxr-xr-x | Master/bin/x86_64-linux/texconfig-dialog | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/bin/x86_64-linux/texconfig-dialog b/Master/bin/x86_64-linux/texconfig-dialog index 76e1f51eea6..8ccda930dd7 100755 --- a/Master/bin/x86_64-linux/texconfig-dialog +++ b/Master/bin/x86_64-linux/texconfig-dialog @@ -21,7 +21,7 @@ export PATH test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"' # the version string -version=1112981053 # seconds since `00:00:00 1970-01-01 UTC' +version=1184605103 # seconds since `00:00:00 1970-01-01 UTC' # date '+%s' (with GNU date) : ${PAGER=more} @@ -103,14 +103,14 @@ runDialog() ############################################################################### findDialog() { - { u=`uname -s`; } 2>/dev/null - case "$u" in - FreeBSD|Linux|cygwin*|CYGWIN*) - test -f /usr/bin/whiptail && DIALOG_PROG=/usr/bin/whiptail - test -f /usr/bin/dialog && DIALOG_PROG=/usr/bin/dialog - test -f /bin/dialog && DIALOG_PROG=/bin/dialog - ;; - esac + for bin in whiptail dialog + do + binLoc=`texconfig findprog $bin` + case $binLoc in + "") DIALOG_PROG="";; + *) DIALOG_PROG=$binLoc; break;; + esac + done case $DIALOG_PROG in "") : ${DIALOG_TERMINFO=$TEXMFMAIN/texconfig} |