tidy up output

This commit is contained in:
Adam Warner 2017-05-05 22:32:27 +01:00
parent 324d4433c3
commit 5b0927ca4b
No known key found for this signature in database
GPG Key ID: 7C062498C7FA6E49
1 changed files with 3 additions and 1 deletions

View File

@ -880,10 +880,12 @@ installPiholeWeb() {
echo " done!"
fi
echo -n "::: Backing up default lighttpd index page..."
if [ -f /var/www/html/index.lighttpd.html ]; then
mv /var/www/html/index.lighttpd.html /var/www/html/index.lighttpd.orig
echo " done!"
else
printf "\n:::\tNo default index.lighttpd.html file found... not backing up"
echo " No default index.lighttpd.html file found... not backing up"
fi
# Install Sudoer file