Newline not read correctly in prompt
This commit is contained in:
parent
0b9e78df2c
commit
646c4a3ccc
|
@ -27,7 +27,9 @@ fi
|
|||
|
||||
|
||||
######### 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
|
||||
if [[ $REPLY =~ ^{Yy]$ ]]; then
|
||||
$SUDO apt-get -y remove --purge dnsutils bc toilet
|
||||
|
|
Loading…
Reference in New Issue