Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Stifler6996/apt-mirror.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStifler <Stifler6996@users.noreply.github.com>2020-06-02 02:50:40 +0300
committerGitHub <noreply@github.com>2020-06-02 02:50:40 +0300
commit692ba11aeec9953e9a4860b78098b2c783f80484 (patch)
tree60e54583d71bdbd581fca7c997f4edeee80031e6
parent00ca80ffe8dc3e8edd0f3e2ba2534f41203c9b97 (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-xapt-mirror2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-mirror b/apt-mirror
index fd97a46..ad8b577 100755
--- a/apt-mirror
+++ b/apt-mirror
@@ -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 );
}