From c736d21ae97cbd9e4f6b036029426f77f14fd063 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 18 Dec 2010 01:50:17 +0100 Subject: Touch old packages after moving them to the cleanup dirs This updates the mtime of those files and will help us to remove them later. --- cron-jobs/ftpdir-cleanup | 1 + 1 file changed, 1 insertion(+) (limited to 'cron-jobs/ftpdir-cleanup') diff --git a/cron-jobs/ftpdir-cleanup b/cron-jobs/ftpdir-cleanup index 1df4edc..fe49706 100755 --- a/cron-jobs/ftpdir-cleanup +++ b/cron-jobs/ftpdir-cleanup @@ -13,6 +13,7 @@ clean_pkg() { rm -f "$pkg" else mv -f "$pkg" "$CLEANUP_DESTDIR" + touch "${CLEANUP_DESTDIR}/$(basename ${pkg})" fi done fi -- cgit v1.2.3