diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index dfed93a1..c2396bf5 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -553,6 +553,8 @@ installScripts() { # Install the scripts from /etc/.pihole to their various locations echo ":::" echo -n "::: Installing scripts to /opt/pihole..." + #clear out /opt/pihole and recreate it. This allows us to remove scripts from future installs + rm -rf /opt/pihole install -o "${USER}" -m755 -d /opt/pihole cd /etc/.pihole/