aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder-apt-config13
1 files changed, 9 insertions, 4 deletions
diff --git a/pbuilder-apt-config b/pbuilder-apt-config
index 66b4413..ae3e13b 100755
--- a/pbuilder-apt-config
+++ b/pbuilder-apt-config
@@ -210,28 +210,33 @@ if [ -n "$profile" ]; then
experimental)
base_dist="unstable"
mirror="$base_mirror"
+ output_sources "$with_sources" "$base_mirror" "$base_dist" "$components"
+ output_sources "$with_sources" "$mirror" "$profile" "$components"
;;
*/volatile)
vendor="volatile"
mirror="`guess_vendor_arch_mirror "$vendor" "$arch"`"
+ output_sources "$with_sources" "$base_mirror" "$base_dist" "$components"
+ output_sources "$with_sources" "$mirror" "$profile" "$components"
;;
*-backports)
vendor="backports.org"
mirror="`guess_vendor_arch_mirror "$vendor" "$arch"`"
+ output_sources "$with_sources" "$base_mirror" "$base_dist" "$components"
+ output_sources "$with_sources" "$mirror" "$profile" "$components"
;;
*-proposed-updates)
mirror="$base_mirror"
+ output_sources "$with_sources" "$base_mirror" "$base_dist" "$components"
+ output_sources "$with_sources" "$mirror" "$profile" "$components"
;;
*)
if [ "$base_dist" != "$profile" ]; then
die "Unknown Debian based profile=$profile"
fi
+ output_sources "$with_sources" "$base_mirror" "$base_dist" "$components"
;;
esac
- output_sources "$with_sources" "$base_mirror" "$base_dist" "$components"
- if [ -n "$mirror" ]; then
- output_sources "$with_sources" "$mirror" "$profile" "$components"
- fi
;;
ubuntu)
case "$profile" in