www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre19/libexec/cinit-conf/dialog-alias.sh
Nico Schottelius 7c47ae1c48 update to cinit-0.3pre19
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-11-30 07:27:49 +01:00

12 lines
281 B
Bash

#!/bin/sh
# Nico Schottelius
# the cLinux project
# Created: 2004-12-25
# Last-Modified:
# choose the correct dialog version
if [ -z "$DISPLAY" ]; then
alias dialog="dialog --shadow --backtitle \"$full_version\""
else
alias dialog="Xdialog --backtitle \"$full_version\""
fi