mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-23 07:18:07 +00:00
Missed the second reinstaller....
This commit is contained in:
parent
fbc800e556
commit
807b60b0e6
@ -126,7 +126,9 @@ elif [[ "${piholeVersion} == ${piholeVersionLatest}" ]] && [[ "${webVersion}" !=
|
|||||||
elif [[ "${piholeVersion}" != "${piholeVersionLatest}" ]] && [[ "${webVersion}" == "${webVersionLatest}" ]]; then
|
elif [[ "${piholeVersion}" != "${piholeVersionLatest}" ]] && [[ "${webVersion}" == "${webVersionLatest}" ]]; then
|
||||||
echo "::: Pi-hole core files out of date"
|
echo "::: Pi-hole core files out of date"
|
||||||
getGitFiles "${PIHOLEFILESDIR}" "${PIHOLEGITURL}"
|
getGitFiles "${PIHOLEFILESDIR}" "${PIHOLEGITURL}"
|
||||||
/etc/.pihole/automated\ install/basic-install.sh --reconfigure --unattended
|
|
||||||
|
/etc/.pihole/automated\ install/basic-install.sh --reconfigure --unattended || echo "Unable to complete update, contact Pi-hole" && exit 1
|
||||||
|
|
||||||
echo ":::"
|
echo ":::"
|
||||||
piholeVersion=$(pihole -v -p -c)
|
piholeVersion=$(pihole -v -p -c)
|
||||||
echo "::: Pi-hole version is now at ${piholeVersion}"
|
echo "::: Pi-hole version is now at ${piholeVersion}"
|
||||||
|
Loading…
Reference in New Issue
Block a user