summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-system3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/install-system b/scripts/install-system
index a77fc446..5a9c0309 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -309,6 +309,9 @@ rename_old_config() {
check_config_partition() {
lpart=$1
+ # Cleanup from possible partial last run
+ rm -fr /mnt/config
+
# Look to see if this is a config partition
mkdir -p /mnt/tmp
output=$(mount /dev/$lpart /mnt/tmp 2>&1)