Browse Source

Remove additional files on reset

Bob Mottram 8 years ago
parent
commit
6ea08a43a8
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      src/freedombone

+ 6
- 0
src/freedombone View File

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