From 5b730588e6b6a71adcebbf85aae138d98cf10779 Mon Sep 17 00:00:00 2001 From: Bradley Richins Date: Mon, 18 May 2020 20:07:31 -0600 Subject: [PATCH] Added check Added a check for dialog install status --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 27bca6d..9e53c52 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,8 @@ #!/bin/bash +if ! hash dialog 2>/dev/null; then + echo "dialog is not installed" + exit +fi working() { tskpid=$!