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,6 +80,12 @@ if [[ $command_options == "menuconfig"* ]]; then
80 80
         if [ -f $COMPLETION_FILE ]; then
81 81
             rm $COMPLETION_FILE
82 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 89
     fi
84 90
 
85 91
     # clear the interactive file which indicates configuration success