1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-23 07:18:07 +00:00

Create directory before trying to create a blank file in it....

This commit is contained in:
Promofaux 2016-08-22 22:06:33 +01:00
parent a57b097afc
commit ed94f4b1df

View File

@ -950,8 +950,8 @@ if [[ ${useUpdateVars} == false ]]; then
welcomeDialogs welcomeDialogs
# Verify there is enough disk space for the install # Verify there is enough disk space for the install
verifyFreeDiskSpace verifyFreeDiskSpace
${SUDO} echo "" > ${setupVars}
${SUDO} mkdir -p /etc/pihole/ ${SUDO} mkdir -p /etc/pihole/
${SUDO} echo "" > ${setupVars}
# Find IP used to route to outside world # Find IP used to route to outside world
findIPRoute findIPRoute
# Find interfaces and let the user choose one # Find interfaces and let the user choose one