Newline not read correctly in prompt

This commit is contained in:
nate 2016-03-26 15:01:02 -05:00
parent 3f38aa931d
commit bd9ede914d

View file

@ -27,7 +27,9 @@ fi
######### SCRIPT ########### ######### SCRIPT ###########
read -p "Do you wish to purge PiHole's dependencies from your OS?\n WARNING: This is destructive if run on any non-Debian based OS \n(SAFE TO RUN ON RASPBIAN)" -n 1 -r read -p "Do you wish to purge PiHole's dependencies from your OS?" -n 1 -r
ehco "WARNING: This is destructive if run on any non-Debian based OS"
echo "(SAFE TO RUN ON RASPBIAN)"
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