Explorar el Código

Remove pihole build directory

Bob Mottram hace 8 años
padre
commit
fae5804c82
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      src/freedombone-app-pihole

+ 4
- 0
src/freedombone-app-pihole Ver fichero

@@ -336,6 +336,10 @@ function remove_pihole {
336 336
         rm /etc/cron.d/pihole
337 337
     fi
338 338
 
339
+    if [ -d $INSTALL_DIR/pihole ]; then
340
+        rm -rf $INSTALL_DIR/pihole
341
+    fi
342
+
339 343
     firewall_remove 53
340 344
     userdel -r pihole
341 345
 }