summaryrefslogtreecommitdiff
path: root/auto/clean
diff options
context:
space:
mode:
Diffstat (limited to 'auto/clean')
-rwxr-xr-xauto/clean4
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/clean b/auto/clean
index 90634ac..05c53de 100755
--- a/auto/clean
+++ b/auto/clean
@@ -5,6 +5,9 @@ rm -f build.log
# Remove generated files
rm -f config/binary config/bootstrap config/chroot config/common config/source
+# remove kanotix-scripts
+grep -oe '^[^ #]*' scripts.urls | grep -oe '[^/]*$' | xargs -i rm -f config/chroot_local-includes/usr/local/bin/{}
+
# Remove empty directories in config tree
if ls config/*/ > /dev/null 2>&1
then
@@ -15,3 +18,4 @@ if [ -d config ]
then
rmdir --ignore-fail-on-non-empty config
fi
+