Merge pull request #1348 from pi-hole/fix/update-without-web
Source setupVars in the updater before attempting to use it
This commit is contained in:
@@ -90,6 +90,7 @@ FTLcheckUpdate() {
|
|||||||
main() {
|
main() {
|
||||||
local pihole_version_current
|
local pihole_version_current
|
||||||
local web_version_current
|
local web_version_current
|
||||||
|
source "${setupVars}"
|
||||||
|
|
||||||
#This is unlikely
|
#This is unlikely
|
||||||
if ! is_repo "${PI_HOLE_FILES_DIR}" ; then
|
if ! is_repo "${PI_HOLE_FILES_DIR}" ; then
|
||||||
|
Reference in New Issue
Block a user