mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-26 22:39:48 +00:00
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:
commit
52baf26d7d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue