fix typo in DEPENDENCY variable

This commit is contained in:
Dan Johansen 2020-10-31 21:21:55 +01:00
parent b53d938d20
commit 0583fbcdf7
No known key found for this signature in database
GPG Key ID: 084A7FC0035B1D49
1 changed files with 2 additions and 2 deletions

View File

@ -46,9 +46,9 @@ if [ "$EUID" -ne 0 ]; then
fi
# Sanity checks for dependencies
declare -a DEPENDNECIES=("git" "parted" "systemd-nspawn" "wget" "dialog" "bsdtar" "openssl" "awk" "mkfs.vfat")
declare -a DEPENDENCIES=("git" "parted" "systemd-nspawn" "wget" "dialog" "bsdtar" "openssl" "awk" "mkfs.vfat")
for i in "${DEPENDNECIES[@]}"; do
for i in "${DEPENDENCIES[@]}"; do
if ! [[ -f "/bin/$i" || -f "/sbin/$i" || -f "/usr/bin/$i" || -f "/usr/sbin/$i" ]] ; then
echo "$i command is missing! Please install the relevant package."
exit 1