Change the word "folder" to "directory" since the pi-hole is intended to run on rpi with Linux on it.

Signed-off-by: Borats Nolan <borats@i.dont.use.email>
This commit is contained in:
Borats Nolan 2018-07-28 02:35:39 +10:00
parent 32cf94fc74
commit 32b50f8188
2 changed files with 5 additions and 5 deletions

View file

@ -106,7 +106,7 @@ removeNoPurge() {
${SUDO} rm -rf /var/www/html/pihole &> /dev/null
${SUDO} rm -f /var/www/html/index.lighttpd.orig &> /dev/null
# If the web directory is empty after removing these files, then the parent html folder can be removed.
# If the web directory is empty after removing these files, then the parent html directory can be removed.
if [ -d "/var/www/html" ]; then
if [[ ! "$(ls -A /var/www/html)" ]]; then
${SUDO} rm -rf /var/www/html &> /dev/null