From 90af12fdb8c2779b63ae06b72f0a10fa189caefd Mon Sep 17 00:00:00 2001 From: Promofaux Date: Sat, 28 Jan 2017 18:41:37 +0000 Subject: [PATCH] Remember the [@] --- automated install/basic-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 3192c9a7..053c09d3 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1215,11 +1215,11 @@ main() { # Clone/Update the repos clone_or_update_repos - # Install packages used by the Pi-hole + # Install packages used by the Pi-hole if [[ ${INSTALL_WEB} == true ]]; then - DEPS=("${PIHOLE_DEPS}" "${PIHOLE_WEB_DEPS}") + DEPS=("${PIHOLE_DEPS[@]}" "${PIHOLE_WEB_DEPS[@]}") else - DEPS=("${PIHOLE_DEPS}") + DEPS=("${PIHOLE_DEPS[@]}") fi install_dependent_packages DEPS[@] @@ -1232,9 +1232,9 @@ main() { # Install packages used by the Pi-hole if [[ ${INSTALL_WEB} == true ]]; then - DEPS=("${PIHOLE_DEPS}" "${PIHOLE_WEB_DEPS}") + DEPS=("${PIHOLE_DEPS[@]}" "${PIHOLE_WEB_DEPS[@]}") else - DEPS=("${PIHOLE_DEPS}") + DEPS=("${PIHOLE_DEPS[@]}") fi install_dependent_packages DEPS[@]