summaryrefslogtreecommitdiff
path: root/auto/clean
diff options
context:
space:
mode:
authorroot <root@dasajuma.(none)>2010-09-02 11:13:17 +0200
committerroot <root@dasajuma.(none)>2010-09-02 11:13:17 +0200
commit05e2314e1bf90e66c3c70e8241a456ad6de81463 (patch)
tree1df348a8edf593de54e9e31d9cf4a9c8c7cfe905 /auto/clean
parent8e0d211bf674953f2830830e27cb80a8b720ef17 (diff)
downloadkanotix-05e2314e1bf90e66c3c70e8241a456ad6de81463.zip
kanotix-05e2314e1bf90e66c3c70e8241a456ad6de81463.tar.gz
removed downloading of kanotix-scripts from clean
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
+