fix typo in DEPENDENCY variable
This commit is contained in:
parent
b53d938d20
commit
0583fbcdf7
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue