diff options
author | Stifler <Stifler6996@users.noreply.github.com> | 2020-06-02 02:50:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 02:50:40 +0300 |
commit | 692ba11aeec9953e9a4860b78098b2c783f80484 (patch) | |
tree | 60e54583d71bdbd581fca7c997f4edeee80031e6 | |
parent | 00ca80ffe8dc3e8edd0f3e2ba2534f41203c9b97 (diff) |
Fix for translation files in xy compressed format
Translations are now using xy instead of bz2. Updated to look for both compression formats.
-rwxr-xr-x | apt-mirror | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -522,7 +522,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 ); } |