read locks echos... reordered to warn user

This commit is contained in:
nate 2016-03-26 15:05:55 -05:00
parent bd9ede914d
commit f20a510ef4

View file

@ -27,9 +27,9 @@ fi
######### SCRIPT ########### ######### SCRIPT ###########
read -p "Do you wish to purge PiHole's dependencies from your OS?" -n 1 -r echo "WARNING: This is destructive if run on any non-Debian based OS"
ehco "WARNING: This is destructive if run on any non-Debian based OS"
echo "(SAFE TO RUN ON RASPBIAN)" echo "(SAFE TO RUN ON RASPBIAN)"
read -p "Do you wish to purge PiHole's dependencies from your OS?" -n 1 -r
echo echo
if [[ $REPLY =~ ^{Yy]$ ]]; then if [[ $REPLY =~ ^{Yy]$ ]]; then
$SUDO apt-get -y remove --purge dnsutils bc toilet $SUDO apt-get -y remove --purge dnsutils bc toilet