diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2023-02-03 18:47:54 +0100 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2023-02-04 11:26:51 +0100 |
commit | f38abb2f98650531ffacdd3241ddc872925cae61 (patch) | |
tree | 42387262d7b0767726d6a8600dd46a0234d87deb /Makefile | |
parent | cc99c2fc7fb2b2888e1d1bb3bedb2f978b0e36b0 (diff) |
Makefile: Do not hardcode archive areas to fetch from
Use the list of archive areas depending on the Debian release affected.
Link: https://bugs.debian.org/1030321
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -48,7 +48,8 @@ update-$(1): prefix="$$($(1)_RELEASE)_$$($(1)_SUBRELEASE)"; \ dist="$$($(1)_DIST)"; \ mirror="$$($(1)_MIRROR)"; \ - for section in main contrib non-free ; do \ + sections="$$($(1)_SECTIONS)"; \ + for section in main $$$$sections ; do \ bin/apt-update-file \ $$$$mirror/dists/$$$$dist/$$$$section/source/Sources \ data/packages/$$$${prefix}_$$$${section}_Sources ; \ |