From b1bd56cd517898d6bab51abbcb9adc72559500b2 Mon Sep 17 00:00:00 2001 From: PromoFaux Date: Wed, 27 Jan 2016 09:47:28 +0000 Subject: [PATCH] Update basic-install.sh --- 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 dfe279a9..29d0cec6 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -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