Disabling security and volatile repositories for unreleased distributions.

This commit is contained in:
Daniel Baumann 2011-03-21 20:36:50 +01:00
parent 18fc11bcad
commit f261b470f8
1 changed files with 18 additions and 2 deletions

View File

@ -773,10 +773,26 @@ Set_defaults ()
LB_TASKS="$(echo ${LB_TASKS} | sed -e 's| ||g')"
# Setting security updates option
LB_SECURITY="${LB_SECURITY:-true}"
case "${LB_DISTRIBUTION}" in
wheezy|sid|baureo)
LB_SECURITY="${LB_SECURITY:-false}"
;;
*)
LB_SECURITY="${LB_SECURITY:-true}"
;;
esac
# Setting volatile updates option
LB_VOLATILE="${LB_VOLATILE:-true}"
case "${LB_DISTRIBUTION}" in
wheezy|sid|baureo)
LB_VOLATILE="${LB_VOLATILE:-false}"
;;
*)
LB_VOLATILE="${LB_VOLATILE:-true}"
;;
esac
## config/binary