From b4f74938bf78a542177d2e1aa7ef648ff4a68c4a Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Mon, 25 Jan 2010 12:29:12 +0100 Subject: Add support for */volatile-sloppy --- pbuilder-apt-config | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'pbuilder-apt-config') diff --git a/pbuilder-apt-config b/pbuilder-apt-config index b221c1b..b94cbc6 100755 --- a/pbuilder-apt-config +++ b/pbuilder-apt-config @@ -212,11 +212,18 @@ if [ -n "$profile" ]; then output_sources "$with_sources" "$base_mirror" "$base_dist" "$components" output_sources "$with_sources" "$base_mirror" "$profile" "$components" ;; - */volatile) + */volatile|*/volatile-sloppy) + if [ "$base_dist" != "${profile%%/*}" ]; then + die "Unknown Volatile based profile=$profile" + fi vendor="volatile" mirror="`guess_vendor_arch_mirror "$vendor" "$arch"`" + volatile_dist=${profile%%-*} output_sources "$with_sources" "$base_mirror" "$base_dist" "$components" - output_sources "$with_sources" "$mirror" "$profile" "$components" + output_sources "$with_sources" "$mirror" "$volatile_dist" "$components" + if [ "$volatile_dist" != "$profile" ]; then + output_sources "$with_sources" "$mirror" "$profile" "$components" + fi ;; *-backports) vendor="backports.org" -- cgit v1.2.3