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

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
Upstream-commit: 0ab5805c0850d055c92f29fbadd4b7a90fc4f76a
Component: engine
This commit is contained in:
Jessica Frazelle
2016-03-08 11:08:00 -08:00
parent 0319ce7abf
commit 34c6a97598
+4 -1
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[*]}";