mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Remember the [@]
This commit is contained in:
parent
5fede23cf7
commit
90af12fdb8
1 changed files with 5 additions and 5 deletions
|
@ -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[@]
|
||||
|
||||
|
|
Loading…
Reference in a new issue