diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:39 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:39 +0200 |
commit | 9a5955a79f907075d0cde61db6f7d2d605ab3b4a (patch) | |
tree | a470f85cbecf2ed965e4341e04acc0edd5df50bd /src/scripts/02defaults.sh | |
parent | b995c6b293b3a75cd8cf4fd1fd6e2eb517a65096 (diff) | |
download | vyos-live-build-9a5955a79f907075d0cde61db6f7d2d605ab3b4a.tar.gz vyos-live-build-9a5955a79f907075d0cde61db6f7d2d605ab3b4a.zip |
Adding live-package 0.99.19-1.
Diffstat (limited to 'src/scripts/02defaults.sh')
-rw-r--r-- | src/scripts/02defaults.sh | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/src/scripts/02defaults.sh b/src/scripts/02defaults.sh index 83101fc48..e762145a8 100644 --- a/src/scripts/02defaults.sh +++ b/src/scripts/02defaults.sh @@ -86,13 +86,7 @@ Defaults () ;; amd64) - if [ "${LIVE_DISTRIBUTION}" = "unstable" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_UNSTABLE}" ] || \ - [ "${LIVE_DISTRIBUTION}" = "testing" ] || [ "${LIVE_DISTRIBUTION}" = "${CODENAME_TESTING}" ] - then - LIVE_KERNEL="amd64" - else - LIVE_KERNEL="amd64-generic" - fi + LIVE_KERNEL="amd64" ;; arm) @@ -166,6 +160,21 @@ Defaults () LIVE_MIRROR_SECURITY="http://security.debian.org/" fi + # Set default aptitude tasks + if [ "${LIVE_PACKAGE_LIST}" = "gnome-desktop" ] + then + LIVE_PACKAGE_LIST="gnome" + LIVE_TASKS="${LIVE_TASKS} gnome-desktop" + elif [ "${LIVE_PACKAGE_LIST}" = "kde-desktop" ] + then + LIVE_PACKAGE_LIST="kde" + LIVE_TASKS="${LIVE_TASKS} kde-desktop" + elif [ "${LIVE_PACKAGE_LIST}" = "xfce-desktop" ] + then + LIVE_PACKAGE_LIST="xfce" + LIVE_TASKS="${LIVE_TASKS} xfce-desktop" + fi + # Check for package lists if [ -z "${LIVE_PACKAGE_LIST}" ] then |