Newline not read correctly in prompt
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user