summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh20
1 files changed, 18 insertions, 2 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 9c8955ec4..0f17e053b 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -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