浏览代码

Remove pihole build directory

Bob Mottram 8 年前
父节点
当前提交
fae5804c82
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/freedombone-app-pihole

+ 4
- 0
src/freedombone-app-pihole 查看文件

@@ -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
 }