Added dialog to the -c option.
This commit is contained in:
parent
1c8c2ff73e
commit
047904e471
@ -47,6 +47,11 @@ checklist() {
|
|||||||
else
|
else
|
||||||
errorList+=("Critical: Wget is not installed. You will not be able to install any games.")
|
errorList+=("Critical: Wget is not installed. You will not be able to install any games.")
|
||||||
fi
|
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
|
for i in 7z cabextract unzip xz ; do
|
||||||
if command -v $i &> /dev/null ; then
|
if command -v $i &> /dev/null ; then
|
||||||
echo "${i^} is installed."
|
echo "${i^} is installed."
|
||||||
|
Loading…
Reference in New Issue
Block a user