diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 48e98f14..0f7f0e7c 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -829,6 +829,10 @@ runGravity() { echo "::: Cleaning up previous install (preserving whitelist/blacklist)" rm /etc/pihole/list.* fi + # Test if /etc/pihole/adlists.default exists + if [[ ! -e /etc/pihole/adlists.default ]]; then + cp /etc/.pihole/adlists.default /etc/pihole/adlists.default + fi echo "::: Running gravity.sh" { /opt/pihole/gravity.sh; } }