aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-apt-config
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-apt-config')
-rwxr-xr-xpbuilder-apt-config15
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