mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 06:10:20 +00:00
Only update when update
flag is set to "true"
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
a2404f104a
commit
b0ae954f1e
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ checkout()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Force updating everything
|
# Force updating everything
|
||||||
if [[ ! "${1}" == "web" && "${update}" ]]; then
|
if [[ ! "${1}" == "web" && "${update}" == "true" ]]; then
|
||||||
echo "::: Running installer to upgrade your installation"
|
echo "::: Running installer to upgrade your installation"
|
||||||
if "${PI_HOLE_FILES_DIR}/automated install/basic-install.sh" --unattended; then
|
if "${PI_HOLE_FILES_DIR}/automated install/basic-install.sh" --unattended; then
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Loading…
Reference in a new issue