summaryrefslogtreecommitdiff
path: root/Master/bin/i386-freebsd/texconfig-dialog
diff options
context:
space:
mode:
authorNikola Lečić <nikola.lecic@anthesphoria.net>2012-05-23 20:14:31 +0000
committerNikola Lečić <nikola.lecic@anthesphoria.net>2012-05-23 20:14:31 +0000
commit6f48e0b3ae58a305764632629ee1aee2903c3db8 (patch)
tree04def41bf0621e0c4876744835944714f3b5e95d /Master/bin/i386-freebsd/texconfig-dialog
parent2b70f4ea51b04e09bb7e163c7112cd9186660273 (diff)
initial i386-freebsd and amd64-freebsd binaries for tl2012, from r26598 (without asy)
git-svn-id: svn://tug.org/texlive/trunk@26601 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-freebsd/texconfig-dialog')
-rwxr-xr-xMaster/bin/i386-freebsd/texconfig-dialog19
1 files changed, 5 insertions, 14 deletions
diff --git a/Master/bin/i386-freebsd/texconfig-dialog b/Master/bin/i386-freebsd/texconfig-dialog
index 8ccda930dd7..e1868d91574 100755
--- a/Master/bin/i386-freebsd/texconfig-dialog
+++ b/Master/bin/i386-freebsd/texconfig-dialog
@@ -21,8 +21,7 @@ export PATH
test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
# the version string
-version=1184605103 # seconds since `00:00:00 1970-01-01 UTC'
- # date '+%s' (with GNU date)
+version='$Id: texconfig-dialog 23826 2011-09-05 17:59:15Z karl $'
: ${PAGER=more}
progname=texconfig-dialog
@@ -82,24 +81,21 @@ logexec()
###############################################################################
runDialog()
{
- termCtl clear
if test -n "$DIALOG_PROG"; then
+ termCtl clear
$DIALOG_PROG --title "TeX setup utility" ${1+"$@"}
runDialogRc=$?
+ termCtl clear
else
- TERM=$DIALOG_TERM TERMINFO=$DIALOG_TERMINFO \
- tcdialog --title "TeX setup utility" ${1+"$@"}
- runDialogRc=$?
+ abort "could not find dialog or whiptail program to run"
fi
- termCtl clear
(exit $runDialogRc)
return $runDialogRc
}
###############################################################################
# findDialog(void)
-# Some systems have their own dialog. Use it then and do not use
-# faked TERM and TERMINFO variables when calling that dialog.
+# set DIALOG_PROG to the system dialog program, or the empty string.
###############################################################################
findDialog()
{
@@ -111,11 +107,6 @@ findDialog()
*) DIALOG_PROG=$binLoc; break;;
esac
done
- case $DIALOG_PROG in
- "")
- : ${DIALOG_TERMINFO=$TEXMFMAIN/texconfig}
- : ${DIALOG_TERM=generic}
- esac
}
###############################################################################