From: Stephen Gran Date: Mon, 6 Jun 2011 07:06:12 +0000 (+0100) Subject: erm, and now with syntax X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dsa-metapackages.git;a=commitdiff_plain;h=e4592d6aa218cf4d1b67729664c077f9c2c5ae1f erm, and now with syntax Signed-off-by: Stephen Gran --- diff --git a/apt-in-chroot b/apt-in-chroot index 21be495..45c1197 100755 --- a/apt-in-chroot +++ b/apt-in-chroot @@ -57,7 +57,7 @@ install|remove|purge|build-dep) ;; esac -if echo "$VALID_CHROOTS" | grep -qFx "$CHROOT" +if echo "$VALID_CHROOTS" | grep -qFx "$CHROOT"; then # valid chroot echo "Will run '/usr/sbin/chroot $CHROOT_DIR/$CHROOT apt-get $APTCMD $PACKAGES'" /usr/sbin/chroot $CHROOT_DIR/$CHROOT apt-get $APTCMD $PACKAGES