From: James Troup Date: Tue, 13 Feb 2007 14:03:20 +0000 (+0000) Subject: [rmurray] don't hardcode group names in cron.monthly X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61bcbca526e332bbe617208626090492f23f85e5;p=dak [rmurray] don't hardcode group names in cron.monthly --- 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