diff options
Diffstat (limited to 'src/scripts/02defaults.sh')
-rw-r--r-- | src/scripts/02defaults.sh | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/src/scripts/02defaults.sh b/src/scripts/02defaults.sh index 6e54c137b..fd58883ee 100644 --- a/src/scripts/02defaults.sh +++ b/src/scripts/02defaults.sh @@ -107,7 +107,7 @@ Defaults () ;; amd64) - if [ "${LIVE_DISTRIBUTION}" = "unstable" ] + if [ "${LIVE_DISTRIBUTION}" = "unstable" ] || [ "${LIVE_DISTRIBUTION}" = "testing" ] then LIVE_KERNEL="amd64" else @@ -176,19 +176,22 @@ Defaults () # Check for package lists if [ -z "${LIVE_PACKAGE_LIST}" ] then - LIVE_PACKAGE_LIST="${BASE}/lists/standard" - else if [ "${LIVE_FLAVOUR}" = "minimal" ] then LIVE_PACKAGE_LIST="${BASE}/lists/minimal" - fi - - if [ -r "${BASE}/lists/${LIVE_PACKAGE_LIST}" ] - then - LIVE_PACKAGE_LIST="${BASE}/lists/${LIVE_PACKAGE_LIST}" else LIVE_PACKAGE_LIST="${BASE}/lists/standard" fi + else + if [ ! -r "${LIVE_PACKAGE_LIST}" ] + then + if [ -r "${BASE}/lists/${LIVE_PACKAGE_LIST}" ] + then + LIVE_PACKAGE_LIST="${BASE}/lists/${LIVE_PACKAGE_LIST}" + else + LIVE_PACKAGE_LIST="${BASE}/lists/standard" + fi + fi fi # Set debian sections |