Remove additional files on reset

This commit is contained in:
Bob Mottram 2016-10-17 18:13:28 +01:00
parent f7d3f228d9
commit 6ea08a43a8
1 changed files with 6 additions and 0 deletions

View File

@ -80,6 +80,12 @@ if [[ $command_options == "menuconfig"* ]]; then
if [ -f $COMPLETION_FILE ]; then
rm $COMPLETION_FILE
fi
if [ -f /usr/share/${PROJECT_NAME}/installed.txt ]; then
rm /usr/share/${PROJECT_NAME}/installed.txt
fi
if [ -f /root/removed ]; then
rm /root/removed
fi
fi
# clear the interactive file which indicates configuration success