diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-25 14:50:49 +0100 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2010-01-25 14:50:49 +0100 |
commit | 3047929b9fc9f8ed61b77913d95e09a663f68762 (patch) | |
tree | 4f138d53778b420f1f2a77c3688dd837acdf7884 /pbuilder-apt-config | |
parent | ecee87b85574b0dd390bb9edf1077a64ab4b528f (diff) | |
download | pbuilder-3047929b9fc9f8ed61b77913d95e09a663f68762.tar pbuilder-3047929b9fc9f8ed61b77913d95e09a663f68762.tar.gz |
Fix dependencies between Ubuntu pockets
Diffstat (limited to 'pbuilder-apt-config')
-rwxr-xr-x | pbuilder-apt-config | 15 |
1 files changed, 9 insertions, 6 deletions
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 |