www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre17/libexec/cinit-conf/dialog-alias.sh
Nico Schottelius 759b58c293 released cinit-0.3pre17
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-05 19:14:52 +02: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