summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-03-08 16:50:30 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2009-03-08 16:50:30 +0100
commitccff2e8c4ae4f0ee487b55fe708dced85d829f68 (patch)
tree8531c324aec844122d77ac7d6bc25c60cf70a45d /src
parent330f99c5b2148f0a04ea919ce9de2f867f8cbb36 (diff)
cleanup backup files when user is happy with the config
Diffstat (limited to 'src')
-rw-r--r--src/core/libs/lib-ui-interactive.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh
index 53e0a05..c013bb0 100644
--- a/src/core/libs/lib-ui-interactive.sh
+++ b/src/core/libs/lib-ui-interactive.sh
@@ -54,6 +54,8 @@ interactive_configure_system()
fi
done
+ # temporary backup files are not useful anymore past this point.
+ find "${var_TARGET_DIR}/etc/" -name '*~' -delete &>/dev/null
}