diff options
author | Jeremy T. Bouse <jbouse@users.noreply.github.com> | 2022-07-08 22:23:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-08 22:23:01 +0300 |
commit | 2258cc160b3e4d1398f94b11e7ab2802795fe970 (patch) | |
tree | 252151ff37c4ffac51896d0d27b90b95fa9b28f7 | |
parent | aeeb0afc52ca60c89b489a44966454479bede1ba (diff) | |
parent | 0cc62608dd39e802dd99ef2f023309812b1a0d3c (diff) |
Merge pull request #158 from smilejj91/support-i18n-xz-files
Support for xz translations
-rwxr-xr-x | apt-mirror | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ); } |