diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-25 12:29:12 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-25 12:29:12 +0100 |
commit | b4f74938bf78a542177d2e1aa7ef648ff4a68c4a (patch) | |
tree | bf56a6305f102db2f7918774c4e17384aa6d7937 /pbuilder-apt-config | |
parent | abcede48e3bce1d490a82b42d2e4a2fdd5675c1f (diff) | |
download | pbuilder-b4f74938bf78a542177d2e1aa7ef648ff4a68c4a.tar pbuilder-b4f74938bf78a542177d2e1aa7ef648ff4a68c4a.tar.gz |
Add support for */volatile-sloppy
Diffstat (limited to 'pbuilder-apt-config')
-rwxr-xr-x | pbuilder-apt-config | 11 |
1 files changed, 9 insertions, 2 deletions
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" |