chiark / gitweb /
actually do it
[dsa-metapackages.git] / apt-in-chroot
index ee02a10ce1cefc4782c0a4e98f96eb769d356a45..0fd9db87da2b9e94c421817e844ad121aa4d110f 100755 (executable)
@@ -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