mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-23 21:30:17 +00:00
Newline not read correctly in prompt
This commit is contained in:
parent
0b9e78df2c
commit
646c4a3ccc
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue