summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorCody A.W. Somerville <cody.somerville@canonical.com>2009-04-17 21:32:48 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:44 +0100
commit8d5944765f88ec29c47becc04615ffa72d8d2c3f (patch)
treef5e2191a92018ddd6c8036d3779bc3642b3ad47f /functions
parent4afc571314e86867311472f5646cae6a38226a4c (diff)
downloadvyos-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-xfunctions/defaults.sh10
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