Only update when `update` flag is set to "true"

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
pull/1313/head
Dan Schaper 7 years ago
parent a2404f104a
commit b0ae954f1e
No known key found for this signature in database
GPG Key ID: 572E999E385B7BFC

@ -189,7 +189,7 @@ checkout()
fi
# Force updating everything
if [[ ! "${1}" == "web" && "${update}" ]]; then
if [[ ! "${1}" == "web" && "${update}" == "true" ]]; then
echo "::: Running installer to upgrade your installation"
if "${PI_HOLE_FILES_DIR}/automated install/basic-install.sh" --unattended; then
exit 0

Loading…
Cancel
Save