X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=apt-in-chroot;fp=apt-in-chroot;h=0fd9db87da2b9e94c421817e844ad121aa4d110f;hb=67b22be13aa2a166f0dc982585b32097438298ac;hp=ee02a10ce1cefc4782c0a4e98f96eb769d356a45;hpb=216ab9e2344557d85f989029c21e9c372b55b380;p=dsa-metapackages.git diff --git a/apt-in-chroot b/apt-in-chroot index ee02a10..0fd9db8 100755 --- a/apt-in-chroot +++ b/apt-in-chroot @@ -95,7 +95,7 @@ if [ "$method" = "dchroot" ]; then /usr/sbin/chroot $CHROOT_DIR/"$requested_chroot" apt-get "$APTCMD" $PACKAGES elif [ "$method" = "schroot" ]; then echo "Will run 'schroot -c $requested_chroot apt-get $APTCMD $PACKAGES'" - #/usr/sbin/chroot $CHROOT_DIR/"$requested_chroot" apt-get "$APTCMD" $PACKAGES + schroot -c "$requested_chroot" apt-get "$APTCMD" $PACKAGES else echo >&2 "Invalid method." exit 1