[Debian-l10n-commits] r2749 - /dl10n/trunk/lib/Debian/Pkg/DebSrc.pm
nekral-guest at users.alioth.debian.org
nekral-guest at users.alioth.debian.org
Sun Aug 21 12:23:59 UTC 2011
Author: nekral-guest
Date: Sun Aug 21 12:23:58 2011
New Revision: 2749
URL: http://svn.debian.org/wsvn/?sc=1&rev=2749
Log:
Complete xz support.
Modified:
dl10n/trunk/lib/Debian/Pkg/DebSrc.pm
Modified: dl10n/trunk/lib/Debian/Pkg/DebSrc.pm
URL: http://svn.debian.org/wsvn/dl10n/trunk/lib/Debian/Pkg/DebSrc.pm?rev=2749&op=diff
==============================================================================
--- dl10n/trunk/lib/Debian/Pkg/DebSrc.pm (original)
+++ dl10n/trunk/lib/Debian/Pkg/DebSrc.pm Sun Aug 21 12:23:58 2011
@@ -88,13 +88,13 @@
while (<DSC>) {
chomp;
last unless s/^ \S* \S* //;
- if (m/\.debian.tar\.(gz|bz2)$/) {
+ if (m/\.debian.tar\.(gz|bz2|xz)$/) {
$v3targz = $dir . '/' . $_;
unless (-f $v3targz) {
warn "$v3targz: No such file\n";
return undef;
}
- } elsif (m/\.tar\.(gz|bz2)$/) {
+ } elsif (m/\.tar\.(gz|bz2|xz)$/) {
$origtargz = $dir . '/' . $_;
unless (-f $origtargz) {
warn "$origtargz: No such file\n";
More information about the Debian-l10n-commits
mailing list