From 047904e4712df3b229e82fb637e4244fff599689 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 27 Oct 2020 10:24:52 -0400 Subject: [PATCH] Added dialog to the -c option. --- audiogame-manager.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index b171709..6db1edb 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -47,6 +47,11 @@ checklist() { else errorList+=("Critical: Wget is not installed. You will not be able to install any games.") fi + if command -v dialog &> /dev/null ; then + echo "Dialog is installed." + else + errorList+=("Critical: Dialog is not installed. You will not be able to install, launch, or remove any games.") + fi for i in 7z cabextract unzip xz ; do if command -v $i &> /dev/null ; then echo "${i^} is installed."