diff options
author | Cody A.W. Somerville <cody.somerville@canonical.com> | 2009-04-17 21:32:48 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:44 +0100 |
commit | 8d5944765f88ec29c47becc04615ffa72d8d2c3f (patch) | |
tree | f5e2191a92018ddd6c8036d3779bc3642b3ad47f /functions | |
parent | 4afc571314e86867311472f5646cae6a38226a4c (diff) | |
download | vyos-live-build-8d5944765f88ec29c47becc04615ffa72d8d2c3f.tar.gz vyos-live-build-8d5944765f88ec29c47becc04615ffa72d8d2c3f.zip |
Updating defaults.sh to correctly set default LH_CATEGORIES when in Ubuntu mode.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 5f5deef16..8ad360fa6 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -406,7 +406,15 @@ Set_defaults () # Setting categories value if [ -z "${LH_CATEGORIES}" ] then - LH_CATEGORIES="main" + case "${LH_MODE}" in + ubuntu) + LH_CATEGORIES="main restricted" + ;; + + *) + LH_CATEGORIES="main" + ;; + esac fi ## config/chroot |