mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
reflect name change of some of the variables in setupVars
This commit is contained in:
parent
23f7363c70
commit
99878ae7d6
1 changed files with 5 additions and 1 deletions
|
@ -817,6 +817,11 @@ installPihole() {
|
|||
}
|
||||
|
||||
updatePihole() {
|
||||
# Refactoring of install script has changed the name of a couple of variables. Sort them out here.
|
||||
sed -i 's/IPv4addr/IPv4_address/g' ${setupVars}
|
||||
sed -i 's/piholeIPv6/IPv6_address/g' ${setupVars}
|
||||
# Source ${setupVars} for use in the rest of the functions.
|
||||
. ${setupVars}
|
||||
# Install base files and web interface
|
||||
installScripts
|
||||
installConfigs
|
||||
|
@ -868,7 +873,6 @@ update_dialogs(){
|
|||
case ${UpdateCmd} in
|
||||
Update)
|
||||
echo "::: Updating existing install"
|
||||
. ${setupVars}
|
||||
useUpdateVars=true
|
||||
;;
|
||||
Install)
|
||||
|
|
Loading…
Reference in a new issue