22 lines
900 B
Plaintext
22 lines
900 B
Plaintext
|
--- /usr/bin/apt-mirror.old 2017-05-29 14:02:33.000000000 +0200
|
||
|
+++ /usr/bin/apt-mirror 2020-04-11 01:42:20.959628172 +0200
|
||
|
@@ -520,7 +520,7 @@
|
||
|
if ( @parts == 3 )
|
||
|
{
|
||
|
my ( $sha1, $size, $filename ) = @parts;
|
||
|
- if ( $filename =~ m{^$component/i18n/Translation-[^./]*\.bz2$} )
|
||
|
+ if ( $filename =~ m{^$component/i18n/Translation-[^./]*\.(gz|bz2|xz)$} )
|
||
|
{
|
||
|
add_url_to_download( $dist_uri . $filename, $size );
|
||
|
}
|
||
|
@@ -826,7 +826,8 @@
|
||
|
}
|
||
|
else
|
||
|
{ # Sources index
|
||
|
- foreach ( split( /\n/, $lines{"Files:"} ) )
|
||
|
+ # foreach ( split( /\n/, $lines{"Files:"} ) )
|
||
|
+ foreach ( split( /\n/, $lines{"Checksums-Sha256:"} ) )
|
||
|
{
|
||
|
next if $_ eq '';
|
||
|
my @file = split;
|