chiark / gitweb /
release v45
[dsa-metapackages.git] / apt-in-chroot
index 21be495..45c1197 100755 (executable)
@@ -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