From 701b5affd403d9a25df311fc422dd33eb4526c34 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 13 Dec 2009 21:17:45 +0100 Subject: For consistency, using true|false instead of enabled|disabled in configuration options. --- examples/cron/images.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'examples/cron') diff --git a/examples/cron/images.sh b/examples/cron/images.sh index 1c95ec88f..d0edfc0ea 100755 --- a/examples/cron/images.sh +++ b/examples/cron/images.sh @@ -3,7 +3,7 @@ # Static variables DISTRIBUTIONS="${DISTRIBUTIONS:-lenny squeeze sid}" FLAVOURS="${FLAVOURS:-standard rescue gnome-desktop kde-desktop lxde-desktop xfce-desktop}" -SOURCE="${SOURCE:-enabled}" +SOURCE="${SOURCE:-true}" MIRROR="${MIRROR:-http://mirror/ftp.debian.org/debian/}" MIRROR_SECURITY="${MIRROR_SECURITY:-http://mirror/ftp.debian.org/debian-security/}" @@ -50,7 +50,7 @@ do i386) case "${FLAVOUR}" in standard|rescue|lxde-desktop|xfce-desktop) - INDICES="enabled" + INDICES="true" ;; gnome-desktop|kde-desktop) @@ -61,11 +61,11 @@ do ;; esac - if [ "${SOURCE}" = "enabled" ] + if [ "${SOURCE}" = "true" ] then - lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --binary-indices ${INDICES} --tasksel aptitude ${KERNEL} --source enabled --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY} + lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends false --binary-indices ${INDICES} --tasksel aptitude ${KERNEL} --source true --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY} else - lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends disabled --binary-indices ${INDICES} --tasksel aptitude ${KERNEL} --source disabled --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY} + lh config -d ${DISTRIBUTION} -p ${FLAVOUR} --cache-stages "bootstrap rootfs" --apt-recommends false --binary-indices ${INDICES} --tasksel aptitude ${KERNEL} --source false --mirror-bootstrap ${MIRROR} --mirror-chroot ${MIRROR} --mirror-chroot-security ${MIRROR_SECURITY} fi if [ "${DISTRIBUTION}" = "sid" ] @@ -84,7 +84,7 @@ do mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.list mv binary.packages debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.packages - if [ "${SOURCE}" = "enabled" ] + if [ "${SOURCE}" = "true" ] then mv source.tar.gz debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz mv source.list debian-live-${DISTRIBUTION}-source-${FLAVOUR}.tar.gz.list -- cgit v1.2.3