1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-15 12:38:56 +00:00

Update basic-install.sh

This commit is contained in:
PromoFaux 2016-01-27 09:47:28 +00:00
parent 4a61b80dd6
commit b1bd56cd51

View File

@ -434,7 +434,7 @@ runGravity(){
$SUDO echo "::: Preparing to run gravity.sh to refresh hosts..."
if ls /etc/pihole/list* 1> /dev/null 2>&1; then
echo "::: Cleaning up previous install (preserving whitelist/blacklist)"
$SUDO cp -o /etc/.pihole/adlists.default /etc/pihole/adlists.default
$SUDO cp /etc/.pihole/adlists.default /etc/pihole/adlists.default
$SUDO rm /etc/pihole/list.*
fi
#Don't run as SUDO, this was causing issues