1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

only add the suites that exist we dont need the script for this

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
Jessica Frazelle 2016-03-08 11:08:00 -08:00
parent 9e2c4de0de
commit 0ab5805c08
No known key found for this signature in database
GPG key ID: 18F3685C0022BFF3

View file

@ -75,7 +75,10 @@ TreeDefault {
};
EOF
for suite in $(exec contrib/reprepro/suites.sh); do
for dir in contrib/builder/deb/${PACKAGE_ARCH}/*/; do
version="$(basename "$dir")"
suite="${version//debootstrap-}"
cat <<-EOF
Tree "dists/${suite}" {
Sections "${components[*]}";