chiark
/
gitweb
/
~ianmdlvl
/
dsa-metapackages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
216ab9e
)
actually do it
author
Peter Palfrader
<peter@palfrader.org>
Wed, 8 Feb 2012 11:24:06 +0000
(12:24 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 8 Feb 2012 11:24:06 +0000
(12:24 +0100)
apt-in-chroot
patch
|
blob
|
history
diff --git
a/apt-in-chroot
b/apt-in-chroot
index ee02a10ce1cefc4782c0a4e98f96eb769d356a45..0fd9db87da2b9e94c421817e844ad121aa4d110f 100755
(executable)
--- 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