diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2010-03-25 13:50:47 +0100 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2010-03-25 13:50:47 +0100 |
commit | 5dd2b063e4ce1758d38020fa80210ac79451c0ed (patch) | |
tree | 2b54e848f3736e86f43f453218b1a1ab99b030b4 /libui.sh | |
parent | 1be387ea87fed465b8f04e5500700a190bdb4d9a (diff) |
error out when asked to use a UI type which cannot be found
Diffstat (limited to 'libui.sh')
-rw-r--r-- | libui.sh | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -14,6 +14,7 @@ libui-sh-init () { LIBUI_UI=${1:-cli} + [ "$LIBUI_UI" == 'dialog' ] && ! which dialog &>/dev/null && die_error "Required dependency dialog not found" LIBUI_TMP_DIR=/tmp if [ -n "$2" ]; then LIBUI_TMP_DIR=$2 |