Remember the [@]
This commit is contained in:
@ -1217,9 +1217,9 @@ main() {
|
|||||||
|
|
||||||
# Install packages used by the Pi-hole
|
# Install packages used by the Pi-hole
|
||||||
if [[ ${INSTALL_WEB} == true ]]; then
|
if [[ ${INSTALL_WEB} == true ]]; then
|
||||||
DEPS=("${PIHOLE_DEPS}" "${PIHOLE_WEB_DEPS}")
|
DEPS=("${PIHOLE_DEPS[@]}" "${PIHOLE_WEB_DEPS[@]}")
|
||||||
else
|
else
|
||||||
DEPS=("${PIHOLE_DEPS}")
|
DEPS=("${PIHOLE_DEPS[@]}")
|
||||||
fi
|
fi
|
||||||
install_dependent_packages DEPS[@]
|
install_dependent_packages DEPS[@]
|
||||||
|
|
||||||
@ -1232,9 +1232,9 @@ main() {
|
|||||||
|
|
||||||
# Install packages used by the Pi-hole
|
# Install packages used by the Pi-hole
|
||||||
if [[ ${INSTALL_WEB} == true ]]; then
|
if [[ ${INSTALL_WEB} == true ]]; then
|
||||||
DEPS=("${PIHOLE_DEPS}" "${PIHOLE_WEB_DEPS}")
|
DEPS=("${PIHOLE_DEPS[@]}" "${PIHOLE_WEB_DEPS[@]}")
|
||||||
else
|
else
|
||||||
DEPS=("${PIHOLE_DEPS}")
|
DEPS=("${PIHOLE_DEPS[@]}")
|
||||||
fi
|
fi
|
||||||
install_dependent_packages DEPS[@]
|
install_dependent_packages DEPS[@]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user