From 6f0289de49adb0d837dde30d88611e2fc676dffe Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Sun, 8 Jan 2017 22:54:45 -0800 Subject: [PATCH] Vestigial variable that was never populated. Signed-off-by: Dan Schaper --- automated install/basic-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 367bdfb5..e6723b93 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -609,15 +609,15 @@ installScripts() { # Install files from local core repository if is_repo "${PI_HOLE_LOCAL_REPO}"; then cd "${PI_HOLE_LOCAL_REPO}" - install -o "${USER}" -Dm755 -d /opt/pihole - install -o "${USER}" -Dm755 -t /opt/pihole/ gravity.sh - install -o "${USER}" -Dm755 -t /opt/pihole/ ./advanced/Scripts/*.sh - install -o "${USER}" -Dm755 -t /opt/pihole/ ./automated\ install/uninstall.sh + install -o "${USER}" -Dm755 -d "${install_dir}" + install -o "${USER}" -Dm755 -t "${install_dir}" gravity.sh + install -o "${USER}" -Dm755 -t "${install_dir}" ./advanced/Scripts/*.sh + install -o "${USER}" -Dm755 -t "${install_dir}" ./automated\ install/uninstall.sh install -o "${USER}" -Dm755 -t /usr/local/bin/ pihole install -Dm644 ./advanced/bash-completion/pihole /etc/bash_completion.d/pihole echo " done." else - echo " *** ERROR: Local repo ${core_repo} not found, exiting." + echo " *** ERROR: Local repo ${PI_HOLE_LOCAL_REPO} not found, exiting." exit 1 fi }