From 3047929b9fc9f8ed61b77913d95e09a663f68762 Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Mon, 25 Jan 2010 14:50:49 +0100 Subject: Fix dependencies between Ubuntu pockets --- pbuilder-apt-config | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'pbuilder-apt-config') diff --git a/pbuilder-apt-config b/pbuilder-apt-config index 6e49ded..0b1fa6f 100755 --- a/pbuilder-apt-config +++ b/pbuilder-apt-config @@ -11,7 +11,7 @@ self="$(basename "$0")" # - default output when neither --suite nor --profile is set? # - support getting/setting --archive? # - support setting --mirror-map (for --profile) -# - list Ubuntu security pocket? Debian security entries? +# - Debian security entries? log() { echo "$@" >&2 @@ -258,14 +258,17 @@ if [ -n "$profile" ]; then fi pockets="" case "$profile" in + *-security) + pockets="security" + ;; + *-updates) + pockets="security updates" + ;; *-backports) - pockets="updates backports" + pockets="security updates backports" ;; *-proposed) - pockets="updates proposed" - ;; - *-updates) - pockets="updates" + pockets="security updates proposed" ;; *) if [ "$base_dist" != "$profile" ]; then -- cgit v1.2.3