stone should fall back to text mode when no dialog is present ... git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1115 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
@ -23,7 +23,11 @@
# --- ROCK-COPYRIGHT-NOTE-END ---
export SETUPD="${SETUPD:-/etc/stone.d}"
export SETUPG="${SETUPG:-dialog}"
if which dialog > /dev/null ; then
else
export SETUPG="${SETUPG:-text}"
fi
export STONE="`type -p $0`"
if [ "$1" = "-text" ] ; then SETUPG="text" ; shift ; fi