From fae5804c827f5f19a2c1765639b52e29c62b7ed8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 30 Oct 2016 11:53:47 +0000 Subject: [PATCH] Remove pihole build directory --- src/freedombone-app-pihole | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-app-pihole b/src/freedombone-app-pihole index 1c4210af..e3d08d2a 100755 --- a/src/freedombone-app-pihole +++ b/src/freedombone-app-pihole @@ -336,6 +336,10 @@ function remove_pihole { rm /etc/cron.d/pihole fi + if [ -d $INSTALL_DIR/pihole ]; then + rm -rf $INSTALL_DIR/pihole + fi + firewall_remove 53 userdel -r pihole }