This commit is contained in:
Santiago Lo Coco 2022-01-19 16:41:02 -03:00
parent 9c1f31768d
commit cb43d7a7c1
1 changed files with 1 additions and 5 deletions

View File

@ -82,11 +82,7 @@ getGitconfigData() {
}
checkForDependencies() {
if [ "$1" = "libnewt" ]; then
comm=whiptail
else
comm=$1
fi
comm=$1 && [ "$1" = "libnewt" ] && comm=whiptail
command -v "${comm}" &> /dev/null
if [ $? -eq 1 ]; then