summaryrefslogtreecommitdiff
path: root/src/scripts/02defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:36 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:36 +0200
commitb7d07a269e4a2d1bac730e177bc6826a7cd450d5 (patch)
tree62003f7571c98e4dab5e1ed2628e98164b98a914 /src/scripts/02defaults.sh
parent03c8a20c280c6888b4d274a3095013064b94e99b (diff)
downloadlive-build-b7d07a269e4a2d1bac730e177bc6826a7cd450d5.zip
live-build-b7d07a269e4a2d1bac730e177bc6826a7cd450d5.tar.gz
Adding live-package 0.99.14-1.
Diffstat (limited to 'src/scripts/02defaults.sh')
-rw-r--r--src/scripts/02defaults.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/scripts/02defaults.sh b/src/scripts/02defaults.sh
index f0ef328..410332c 100644
--- a/src/scripts/02defaults.sh
+++ b/src/scripts/02defaults.sh
@@ -86,7 +86,8 @@ Defaults ()
;;
amd64)
- if [ "${LIVE_DISTRIBUTION}" = "unstable" ] || [ "${LIVE_DISTRIBUTION}" = "testing" ]
+ if [ "${LIVE_DISTRIBUTION}" = "unstable" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_UNSTABLE}" ] || \
+ [ "${LIVE_DISTRIBUTION}" = "testing" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_TESTING}" ]
then
LIVE_KERNEL="amd64"
else
@@ -104,7 +105,8 @@ Defaults ()
;;
i386)
- if [ "${LIVE_DISTRIBUTION}" = "oldstable" ] || [ "${LIVE_DISTRIBUTION}" = "stable" ]
+ if [ "${LIVE_DISTRIBUTION}" = "oldstable" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_OLDSTABLE}" ] || \
+ [ "${LIVE_DISTRIBUTION}" = "stable" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_STABLE}" ]
then
LIVE_KERNEL="386"
else
@@ -235,6 +237,12 @@ Defaults ()
LIVE_GENERIC_INDICES="yes"
fi
+ # Set recommends
+ if [ -z "${LIVE_RECOMMENDS}" ]
+ then
+ LIVE_RECOMMENDS="no"
+ fi
+
# Set source image
if [ -z "${LIVE_SOURCE}" ]
then