[debian-edu-commits] debian-edu/ 01/01: debian/mail_stats_to_list: via a cronjob on paradis.debian.org: send mails about all manuals to the Debian Edu list once a month.
Holger Levsen
holger at moszumanska.debian.org
Thu Jan 1 18:09:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository debian-edu-doc.
commit 90f96e21da4ddb36dfd851113858e89fafe3d4ec
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Jan 1 19:07:53 2015 +0100
debian/mail_stats_to_list: via a cronjob on paradis.debian.org: send mails about all manuals to the Debian Edu list once a month.
---
debian/changelog | 2 ++
debian/mail_stats_to_list | 12 ++++++++----
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index cdfc6df..f35bd3b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ debian-edu-doc (1.6~20150104~8.0+edu0~beta1) UNRELEASED; urgency=medium
[ Holger Levsen ]
* Update debian/copyright from the wikis using the update-copyright
target.
+ * debian/mail_stats_to_list: via a cronjob on paradis.debian.org: send mails
+ about all manuals to the Debian Edu list once a month.
[ Jessie Manual translation updates ]
* German: Wolfgang Schweer.
diff --git a/debian/mail_stats_to_list b/debian/mail_stats_to_list
index 44bd1d5..36d4ec4 100755
--- a/debian/mail_stats_to_list
+++ b/debian/mail_stats_to_list
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2009,2010,2013 Holger Levsen (holger at layer-acht.org)
+# Copyright 2009,2010,2013,2014,2015 Holger Levsen (holger at layer-acht.org)
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
@@ -34,11 +34,15 @@ if [ $(echo $?) -ne 0 ] ; then
fi
#
-# loop through manuals
+# loop through some manuals
#
cd documentation
-# actually only send mails about debian-edu-jessie and debian-edu-wheezy - you can add more directories to the loop here
-for i in debian-edu-jessie debian-edu-wheezy ; do
+if [ $1 = "all" ] then
+ MANUALS="debian-edu-jessie debian-edu-wheezy rosegarden audacity"
+else
+ MANUALS="debian-edu-jessie"
+fi
+for i in $MANUALS ; do
if [ $(ls $i/$i-manual.*.po > /dev/null 2>&1 ; echo $?) -eq 0 ] ; then
cd $i
TMPFILE=$(mktemp)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-doc.git
More information about the debian-edu-commits
mailing list