Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2017-08-17 20:33:53 +01:00
parent 54f4f6d2d7
commit 1b34286264
No known key found for this signature in database
GPG key ID: 03843F6C65554B22

View file

@ -209,7 +209,13 @@ else
echo -e " ${INFO} Be sure to confirm if any dependencies should not be removed"
fi
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
[Yy]* ) removeAndPurge; break;;
[Nn]* ) removeNoPurge; break;;