From e4592d6aa218cf4d1b67729664c077f9c2c5ae1f Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 6 Jun 2011 08:06:12 +0100 Subject: [PATCH] erm, and now with syntax Signed-off-by: Stephen Gran --- apt-in-chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2