[Debian-l10n-commits] [ddtp] branch master updated (6d7fd45 -> de368bc)
Martijn van Oosterhout
kleptog-guest at moszumanska.debian.org
Sun Jan 19 14:00:13 UTC 2014
This is an automated email from the git hooks/post-receive script.
kleptog-guest pushed a change to branch master
in repository ddtp.
from 6d7fd45 Keep weekly dumps instad of daily, for disk space.
new de368bc Fix stats display to read gz files instead of bz2.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
ddts-stats | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ddts-stats b/ddts-stats
index e32828f..b938026 100755
--- a/ddts-stats
+++ b/ddts-stats
@@ -89,7 +89,7 @@ sub fetch_data
sub load_packages
{
print "Loading package file\n";
- my $fh = open_bz2_file( "/org/ddtp.debian.net/Packages/Packages_${DIST}_main_${ARCH}.bz2" );
+ my $fh = open_bz2_file( "/org/ddtp.debian.net/Packages/Packages_${DIST}_main_${ARCH}.gz" );
parse_header_format( $fh, \&process_package );
close $fh;
}
@@ -335,7 +335,7 @@ sub open_bz2_file
my $fh;
- open $fh, "bzcat $file |" or die "Couldn't open $file ($!)\n";
+ open $fh, "zcat $file |" or die "Couldn't open $file ($!)\n";
return $fh;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-l10n/ddtp.git
More information about the Debian-l10n-commits
mailing list