From b643735f2b5ae56e47692cf3a855836f8aa8e7b2 Mon Sep 17 00:00:00 2001 From: LaMont Jones Date: Mon, 7 Mar 2005 16:53:38 +0000 Subject: [PATCH] Fix screwup with invoking debconf-communicate --- livecd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/livecd.sh b/livecd.sh index 2fc3f83c..939aa3ec 100755 --- a/livecd.sh +++ b/livecd.sh @@ -216,8 +216,8 @@ deb-src http://security.ubuntu.com/ubuntu ${STE}-security main restricted chroot $ROOT apt-get update || true # give them fresh lists, but don't fail rm ${ROOT}etc/resolv.conf ${ROOT}etc/mailname sed -i '/^myhostname/d; /^mydestination/d; /^myorigin/d' ${ROOT}etc/postfix/main.cf - echo set postfix/destinations | chroot ${ROOT}/usr/bin/debconf-communicate postfix - echo set postfix/mailname | chroot ${ROOT}/usr/bin/debconf-communicate postfix + echo set postfix/destinations | chroot ${ROOT} /usr/bin/debconf-communicate postfix + echo set postfix/mailname | chroot ${ROOT} /usr/bin/debconf-communicate postfix chroot ${ROOT} dpkg-query -W --showformat='${Package} ${Version}\n' > livecd.${FS}.manifest mkdir -p livecd.mnt