mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
verbiage
Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
parent
54f4f6d2d7
commit
1b34286264
1 changed files with 7 additions and 1 deletions
|
@ -209,7 +209,13 @@ else
|
||||||
echo -e " ${INFO} Be sure to confirm if any dependencies should not be removed"
|
echo -e " ${INFO} Be sure to confirm if any dependencies should not be removed"
|
||||||
fi
|
fi
|
||||||
while true; do
|
while true; do
|
||||||
read -rp " ${QST} Do you wish to go through each dependency for removal? [Y/n] " yn
|
echo -e "${COL_YELLOW} ${INFO} The following dependencies may have been added to the system by Pi-hole install:"
|
||||||
|
echo -n " "
|
||||||
|
for i in "${DEPS[@]}"; do
|
||||||
|
echo -n "${i} "
|
||||||
|
done
|
||||||
|
echo "${COL_NC}"
|
||||||
|
read -rp " ${QST} Do you wish to go through each dependency for removal? (Choosing No will leave all dependencies installed)[Y/n] " yn
|
||||||
case ${yn} in
|
case ${yn} in
|
||||||
[Yy]* ) removeAndPurge; break;;
|
[Yy]* ) removeAndPurge; break;;
|
||||||
[Nn]* ) removeNoPurge; break;;
|
[Nn]* ) removeNoPurge; break;;
|
||||||
|
|
Loading…
Reference in a new issue