From 61bcbca526e332bbe617208626090492f23f85e5 Mon Sep 17 00:00:00 2001 From: James Troup Date: Tue, 13 Feb 2007 14:03:20 +0000 Subject: [PATCH] [rmurray] don't hardcode group names in cron.monthly --- ChangeLog | 3 +++ config/debian/cron.monthly | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index da2fc434..6c57c78c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,9 @@ 2007-02-08 Ryan Murray + * config/debian/cron.monthly: use $ftpgroup instead of hardcoding + group name for chgrp of mail archives. + * daklib/queue.py (Upload.check_dsc_against_db): handle multiple orig.tar.gz's by picking the first one by file id. diff --git a/config/debian/cron.monthly b/config/debian/cron.monthly index cdc76be2..d9e00993 100755 --- a/config/debian/cron.monthly +++ b/config/debian/cron.monthly @@ -17,7 +17,7 @@ for m in mail bxamail; do mv $m ${m}-$DATE sleep 20 gzip -9 ${m}-$DATE - chgrp debadmin ${m}-$DATE.gz + chgrp $ftpgroup ${m}-$DATE.gz chmod 660 ${m}-$DATE.gz fi; done -- 2.39.5