summaryrefslogtreecommitdiff
path: root/Master/bin/i386-darwin/texconfig-dialog
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-06-04 17:48:12 +0000
committerKarl Berry <karl@freefriends.org>2008-06-04 17:48:12 +0000
commit21ed60c2ddcc68f5731606c0b2d202780ba13c80 (patch)
tree6155cd743b3be97a6491976379914aa04af8e869 /Master/bin/i386-darwin/texconfig-dialog
parent581de0dcf55ac892301fb41bf2c7c4c2475d91f4 (diff)
i386-darwin binaries for tl08 from koch
git-svn-id: svn://tug.org/texlive/trunk@8559 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-darwin/texconfig-dialog')
-rwxr-xr-xMaster/bin/i386-darwin/texconfig-dialog18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/bin/i386-darwin/texconfig-dialog b/Master/bin/i386-darwin/texconfig-dialog
index 76e1f51eea6..8ccda930dd7 100755
--- a/Master/bin/i386-darwin/texconfig-dialog
+++ b/Master/bin/i386-darwin/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}