From f582344b9ac6698a5e500b20739994a6fed27cab Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 17 Sep 2019 21:59:48 +0200 Subject: [PATCH 1/2] "No default index.lighttpd.html file found... not backing up" is not an error. Signed-off-by: DL6ER --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 25c66ab7..e9684254 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1692,7 +1692,7 @@ installPiholeWeb() { # Otherwise, else # don't do anything - printf "%b %b %s\\n" "${OVER}" "${CROSS}" "${str}" + printf "%b %b %s\\n" "${OVER}" "${INFO}" "${str}" printf " No default index.lighttpd.html file found... not backing up\\n" fi From 9a6deb5a1a4c1d811c5a906d107e06d6973e7fcb Mon Sep 17 00:00:00 2001 From: Adam Warner Date: Tue, 17 Sep 2019 21:16:49 +0100 Subject: [PATCH 2/2] Fix tests Signed-off-by: Adam Warner --- test/test_automated_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_automated_install.py b/test/test_automated_install.py index cce11857..e8a4dede 100644 --- a/test/test_automated_install.py +++ b/test/test_automated_install.py @@ -338,7 +338,7 @@ def test_installPiholeWeb_fresh_install_no_errors(Pihole): expected_stdout = tick_box + (' Creating directory for blocking page, ' 'and copying files') assert expected_stdout in installWeb.stdout - expected_stdout = cross_box + ' Backing up index.lighttpd.html' + expected_stdout = info_box + ' Backing up index.lighttpd.html' assert expected_stdout in installWeb.stdout expected_stdout = ('No default index.lighttpd.html file found... ' 'not backing up')