From 0df731e69b7eb113de3c86a38037f4009fe803b6 Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Fri, 11 Nov 2016 13:56:18 +0000 Subject: [PATCH] reflect path name change --- README.md | 4 ++-- advanced/Scripts/update.sh | 4 ++-- pihole | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f52061ea..5187dc68 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Digital Ocean helps with our infrastructure, but our developers are all voluntee ### One-Step Automated Install 1. Install a [supported operating system](https://discourse.pi-hole.net/t/hardware-software-requirements/273/1) -2. Run the command below (it downloads [this script](https://github.com/pi-hole/pi-hole/blob/master/automated%20install/basic-install.sh) in case you want to read over it first!) +2. Run the command below (it downloads [this script](https://github.com/pi-hole/pi-hole/blob/master/automated_install/basic-install.sh) in case you want to read over it first!) ### `curl -sSL https://install.pi-hole.net | bash` @@ -42,7 +42,7 @@ _If you wish to read over the script before running it, run `nano basic-install. ``` git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole -cd Pi-hole/automated_installer/ +cd Pi-hole/automated_install/ bash basic-install.sh ``` diff --git a/advanced/Scripts/update.sh b/advanced/Scripts/update.sh index 10728cd8..4314c15f 100644 --- a/advanced/Scripts/update.sh +++ b/advanced/Scripts/update.sh @@ -130,13 +130,13 @@ main() { elif [[ "${pihole_version_current}" < "${pihole_version_latest}" ]] && [[ "${web_version_current}" == "${web_version_latest}" ]]; then echo "::: Pi-hole core files out of date" getGitFiles "${PI_HOLE_FILES_DIR}" "${PI_HOLE_GIT_URL}" - /etc/.pihole/automated\ install/basic-install.sh --reconfigure --unattended || echo "Unable to complete update, contact Pi-hole" && exit 1 + /etc/.pihole/automated_install/basic-install.sh --reconfigure --unattended || echo "Unable to complete update, contact Pi-hole" && exit 1 core_updated=true elif [[ "${pihole_version_current}" < "${pihole_version_latest}" ]] && [[ "${web_version_current}" < "${web_version_latest}" ]]; then echo "::: Updating Everything" getGitFiles "${PI_HOLE_FILES_DIR}" "${PI_HOLE_GIT_URL}" - /etc/.pihole/automated\ install/basic-install.sh --unattended || echo "Unable to complete update, contact Pi-hole" && exit 1 + /etc/.pihole/automated_install/basic-install.sh --unattended || echo "Unable to complete update, contact Pi-hole" && exit 1 web_updated=true core_updated=true else diff --git a/pihole b/pihole index 83046675..bb442c98 100755 --- a/pihole +++ b/pihole @@ -48,7 +48,7 @@ updatePiholeFunc() { } reconfigurePiholeFunc() { - /etc/.pihole/automated\ install/basic-install.sh --reconfigure + /etc/.pihole/automated_install/basic-install.sh --reconfigure exit 0; }