diff options
author | Eric Bélanger <snowmaniscool@gmail.com> | 2010-02-08 16:13:42 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-03-13 11:33:26 +0100 |
commit | e7fe897a91e6376a8724c226f8e078251620a173 (patch) | |
tree | 93a9b814b3e96b38734d0bc1908b9c18a8f09d2c /cron-jobs | |
parent | 17dd60ced8eb8ca461b73dd8429be0fda83264e5 (diff) | |
download | dbscripts-e7fe897a91e6376a8724c226f8e078251620a173.tar.gz dbscripts-e7fe897a91e6376a8724c226f8e078251620a173.tar.xz |
sourceballs: Make cleanup more efficient
Moved all cleanup related code in sourceballs-cleanup script and moved,
now common, functions in db-functions. The cleanup script is now ran
after all the new sourceballs have been fetched.
Signed-off-by: Eric Bélanger <snowmaniscool@gmail.com>
Diffstat (limited to 'cron-jobs')
-rwxr-xr-x | cron-jobs/sourceballs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index b7a4885..ccb00ad 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -89,4 +89,6 @@ if [ -n "$FAILED_PKGS" ]; then echo -e $FAILED_PKGS | sed "s| |\n|g" | sort -u >> "$srcbase/failed.txt" fi +$dirname/../misc-scripts/sourceballs-cleanup + cleanup |