diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-12-18 01:50:17 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-12-18 01:50:17 +0100 |
commit | c736d21ae97cbd9e4f6b036029426f77f14fd063 (patch) | |
tree | b50a16ea9a71d7355570925d6dc2dba592f06d67 /cron-jobs/ftpdir-cleanup | |
parent | 76256c33bb6fa06b79bdab6615f2da587cd80f31 (diff) | |
download | dbscripts-c736d21ae97cbd9e4f6b036029426f77f14fd063.tar.gz dbscripts-c736d21ae97cbd9e4f6b036029426f77f14fd063.tar.xz |
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.
Diffstat (limited to 'cron-jobs/ftpdir-cleanup')
-rwxr-xr-x | cron-jobs/ftpdir-cleanup | 1 |
1 files changed, 1 insertions, 0 deletions
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 |