[Piuparts-commits] [piuparts] 01/01: prepare_backup: include bts_stats.txt

Holger Levsen holger at moszumanska.debian.org
Tue May 20 12:06:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 12a636dafb19a04190c8c7c54081b5a7fe9767c7
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue May 20 14:02:23 2014 +0200

    prepare_backup: include bts_stats.txt
---
 master-bin/gather_bts_stats.in | 2 +-
 master-bin/prepare_backup.in   | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/master-bin/gather_bts_stats.in b/master-bin/gather_bts_stats.in
index 103c019..94666cb 100755
--- a/master-bin/gather_bts_stats.in
+++ b/master-bin/gather_bts_stats.in
@@ -1,7 +1,7 @@
 #!/bin/bash
 set -e
 
-# Copyright 2013 Holger Levsen (holger at layer-acht.org)
+# Copyright 2013,2014 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
diff --git a/master-bin/prepare_backup.in b/master-bin/prepare_backup.in
index e0a57dc..f9124c3 100755
--- a/master-bin/prepare_backup.in
+++ b/master-bin/prepare_backup.in
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -e
 
-# Copyright 2009 Holger Levsen (holger at layer-acht.org)
+# Copyright 2009,2014 Holger Levsen (holger at layer-acht.org)
 # Copyright © 2013 Andreas Beckmann (anbe at debian.org)
 #
 # This program is free software; you can redistribute it and/or modify it
@@ -48,4 +48,7 @@ for SECTION in $SECTIONS ; do
 	if [ -f $HTDOCS/$SECTION/counts.txt ]; then
 		cp $HTDOCS/$SECTION/counts.txt $BACKUPDIR/$SECTION/
 	fi
+	if [ -f $MASTER/bts_stats.txt ]; then
+		cp $MASTER/bts_stats.txt $BACKUPDIR/
+	fi
 done

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list