From 82fef828b25b41b41dad1f2fb4c17294fcb09a8e Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Mon, 25 Jan 2010 12:19:47 +0100 Subject: Reflow output_sources into individual case stmts --- pbuilder-apt-config | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'pbuilder-apt-config') 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 -- cgit v1.2.3