Browse code

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

Signed-off-by: Jessica Frazelle <acidburn@docker.com>

Jessica Frazelle authored on 2016/03/09 04:08:00
Showing 1 changed files
... ...
@@ -75,7 +75,10 @@ TreeDefault {
75 75
 };
76 76
 EOF
77 77
 
78
-for suite in $(exec contrib/reprepro/suites.sh); do
78
+for dir in contrib/builder/deb/${PACKAGE_ARCH}/*/; do
79
+	version="$(basename "$dir")"
80
+	suite="${version//debootstrap-}"
81
+
79 82
 	cat <<-EOF
80 83
 	Tree "dists/${suite}" {
81 84
 		Sections "${components[*]}";