From 1c86899ea7c21a6a76b7d14ffbb4c35a37983ac1 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Tue, 15 Mar 2022 00:38:09 -0400 Subject: [PATCH] Fixed a bug in checking for dependencies. --- linux-game-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index d764255..a442d9d 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -302,7 +302,7 @@ requiredPackages=( "unzip" "wget" ) -for i in "${requiredPackages}" ; do +for i in "${requiredPackages[@]}" ; do if ! command -v $i &> /dev/null ; then echo "Please install $i before continuing." exit 1