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>2022-05-25 07:08:15 +0300
committerGitHub <noreply@github.com>2022-05-25 07:08:15 +0300
commit8da05f8ca68b0d8e71ab23edd9c5ba2728a8bf28 (patch)
treec23f66f43aa6400cb2c7f65e5a6f90a83caaaec9
parentc581211a1269faf4baf12f7f3c516cdc11c9f1a5 (diff)
parent6514286140ae3f585729aa273f356ab239d1726e (diff)
Merge pull request #29 from chutzimir/debian-netboot
The debian network installer needs these files too
-rwxr-xr-xapt-mirror6
1 files changed, 4 insertions, 2 deletions
diff --git a/apt-mirror b/apt-mirror
index 0c52b0b..afe64e9 100755
--- a/apt-mirror
+++ b/apt-mirror
@@ -566,9 +566,9 @@ sub find_metadata_in_release
) or (
$filename =~ m{^${component_regex}/Contents-${arch_regex}${compressed_extension_regex}}
) or (
- $filename =~ m{^${component_regex}/binary-${arch_regex}/Packages${compressed_extension_regex}}
+ $filename =~ m{^${component_regex}/(?:debian-installer/)?binary-${arch_regex}/Packages${compressed_extension_regex}}
) or (
- $filename =~ m{^${component_regex}/binary-${arch_regex}/Release$} # Needed for netboot.
+ $filename =~ m{^${component_regex}/(?:debian-installer/)?binary-${arch_regex}/Release$}
) or (
$filename =~ m{^${component_regex}/cnf/Commands-${arch_regex}${compressed_extension_regex}}
) or (
@@ -803,6 +803,8 @@ foreach (@config_binaries)
{
process_index( $uri, "/dists/$distribution/$component/binary-$arch/Packages" );
process_index( $uri, "/dists/$distribution/$component/binary-all/Packages", 1 );
+ process_index( $uri, "/dists/$distribution/$component/debian-installer/binary-$arch/Packages", 1 );
+ process_index( $uri, "/dists/$distribution/$component/debian-installer/binary-all/Packages", 1 );
}
}
elsif ($distribution)