aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-apt-config
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-25 12:29:12 +0100
committerLoïc Minier <lool@dooz.org>2010-01-25 12:29:12 +0100
commitb4f74938bf78a542177d2e1aa7ef648ff4a68c4a (patch)
treebf56a6305f102db2f7918774c4e17384aa6d7937 /pbuilder-apt-config
parentabcede48e3bce1d490a82b42d2e4a2fdd5675c1f (diff)
downloadpbuilder-b4f74938bf78a542177d2e1aa7ef648ff4a68c4a.tar
pbuilder-b4f74938bf78a542177d2e1aa7ef648ff4a68c4a.tar.gz
Add support for */volatile-sloppy
Diffstat (limited to 'pbuilder-apt-config')
-rwxr-xr-xpbuilder-apt-config11
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"