aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-apt-config
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-25 12:19:47 +0100
committerLoïc Minier <lool@dooz.org>2010-01-25 12:19:47 +0100
commit82fef828b25b41b41dad1f2fb4c17294fcb09a8e (patch)
tree305482cc01434b67bace5e3d1b0e607a9121d919 /pbuilder-apt-config
parentc32212f1f8c9d14783dd4faac32498148f7d0ea1 (diff)
downloadpbuilder-82fef828b25b41b41dad1f2fb4c17294fcb09a8e.tar
pbuilder-82fef828b25b41b41dad1f2fb4c17294fcb09a8e.tar.gz
Reflow output_sources into individual case stmts
Diffstat (limited to 'pbuilder-apt-config')
-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