Merge pull request #158 from smilejj91/support-i18n-xz-files

Support for xz translations
master
Jeremy T. Bouse 3 months ago committed by GitHub
commit 2258cc160b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apt-mirror

@ -519,7 +519,7 @@ sub find_translation_files_in_release
if ( @parts == 3 )
{
my ( $sha1, $size, $filename ) = @parts;
if ( $filename =~ m{^$component/i18n/Translation-[^./]*\.bz2$} )
if ( $filename =~ m{^$component/i18n/Translation-[^./]*\.(bz2|xz)$} )
{
add_url_to_download( $dist_uri . $filename, $size );
}

Loading…
Cancel
Save