From 90cfccb9032faf34bbe5c8688b35108499f10e29 Mon Sep 17 00:00:00 2001 From: human Date: Sun, 28 Apr 2019 11:51:26 +0300 Subject: [PATCH] installer: better check for /bin/dialog this works on distros where /bin isn't a symlink to /usr/bin --- installer.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh.in b/installer.sh.in index 2e6e31c..17ec46e 100644 --- a/installer.sh.in +++ b/installer.sh.in @@ -1425,7 +1425,7 @@ menu() { esac } -if [ ! -x /bin/dialog ]; then +if ! command -v dialog >/dev/null; then echo "ERROR: missing dialog command, exiting..." exit 1 fi