Fixed a bug in checking for dependencies.
This commit is contained in:
parent
a5c3ab8185
commit
1c86899ea7
@ -302,7 +302,7 @@ requiredPackages=(
|
|||||||
"unzip"
|
"unzip"
|
||||||
"wget"
|
"wget"
|
||||||
)
|
)
|
||||||
for i in "${requiredPackages}" ; do
|
for i in "${requiredPackages[@]}" ; do
|
||||||
if ! command -v $i &> /dev/null ; then
|
if ! command -v $i &> /dev/null ; then
|
||||||
echo "Please install $i before continuing."
|
echo "Please install $i before continuing."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user