mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-01 02:23:21 +00:00
Newline not read correctly in prompt
This commit is contained in:
parent
3f38aa931d
commit
bd9ede914d
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue