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