浏览代码

Remove additional files on reset

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

+ 6
- 0
src/freedombone 查看文件

80
         if [ -f $COMPLETION_FILE ]; then
80
         if [ -f $COMPLETION_FILE ]; then
81
             rm $COMPLETION_FILE
81
             rm $COMPLETION_FILE
82
         fi
82
         fi
83
+        if [ -f /usr/share/${PROJECT_NAME}/installed.txt ]; then
84
+            rm /usr/share/${PROJECT_NAME}/installed.txt
85
+        fi
86
+        if [ -f /root/removed ]; then
87
+            rm /root/removed
88
+        fi
83
     fi
89
     fi
84
 
90
 
85
     # clear the interactive file which indicates configuration success
91
     # clear the interactive file which indicates configuration success