From 03c8a20c280c6888b4d274a3095013064b94e99b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:04:35 +0200 Subject: Adding live-package 0.99.13-1. --- src/scripts/14chroot.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/scripts/14chroot.sh') diff --git a/src/scripts/14chroot.sh b/src/scripts/14chroot.sh index 5b226e1f9..45d214d6f 100644 --- a/src/scripts/14chroot.sh +++ b/src/scripts/14chroot.sh @@ -95,10 +95,15 @@ Chroot () # Restore preseed configuration if [ -f "${LIVE_PRESEED}" ] then - Chroot_exec "apt-get install --yes debconf-utils" + Chroot_exec "apt-get install --yes --force-yes debconf-utils" cp "${LIVE_PRESEED}" "${LIVE_CHROOT}"/root/preseed Chroot_exec "debconf-set-selections /root/preseed" rm -f "${LIVE_CHROOT}"/root/preseed + else + if [ -n "${LIVE_PRESEED}" ]; then + echo "'${LIVE_PRESEED}' file doesn't exists. Exiting..." + exit 1 + fi fi # Restore cloned package selection -- cgit v1.2.3