diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-01-21 13:56:53 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-01-21 13:56:53 +0100 |
commit | d8d7aa9683258311d2de9154b116a4d53b4370b3 (patch) | |
tree | 61ec979d8cdf941a0407d82b7872ebd9b67fe43d | |
parent | 90b7877c32210b06d8a9dccb4004b2d091d0d98e (diff) | |
download | jenkins.debian.net-d8d7aa9683258311d2de9154b116a4d53b4370b3.tar.xz |
reproducible: delete logfiles of packages removed from sid
-rwxr-xr-x | bin/reproducible_maintainance.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/reproducible_maintainance.sh b/bin/reproducible_maintainance.sh index b7d28997..87ce245f 100755 --- a/bin/reproducible_maintainance.sh +++ b/bin/reproducible_maintainance.sh @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2014 Holger Levsen <holger@layer-acht.org> +# Copyright 2014-2015 Holger Levsen <holger@layer-acht.org> # released under the GPLv=2 DEBUG=false @@ -123,6 +123,11 @@ if [ ! -z "$PACKAGES" ] ; then (SELECT sources.name FROM sources) LIMIT 25" sqlite3 -init $INIT ${PACKAGES_DB} "$QUERY" + cd /var/lib/jenkins/userContent + for i in PACKAGES ; do + find rb-pkg/ rbuild/ notes/ dbd/ -name "${i}_*" -exec rm -v {} \; + done + cd - fi if ! $DIRTY ; then |