www.nico.schottelius.org/software/cinit/browse_source/cinit-0.3pre17/libexec/cinit-conf/dialog-alias.sh

13 lines
281 B
Bash
Raw Normal View History

#!/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