summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Scarpino <andrea@archlinux.org>2011-07-22 20:58:52 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-07-25 18:03:35 +0200
commitc57284e053c81bdc202e360f26444800b9fc2695 (patch)
treeef1830ec4130cd4a07abf10fc4031aee22146644
parentd177c870800ce3814d25a01421b9fafc8524aa20 (diff)
downloaddevtools-c57284e053c81bdc202e360f26444800b9fc2695.tar.gz
devtools-c57284e053c81bdc202e360f26444800b9fc2695.tar.xz
Install a package in the chroot without confirm
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
-rwxr-xr-xmakechrootpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg b/makechrootpkg
index 90c60c5..1a6d8e5 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -153,7 +153,7 @@ fi
if [ -n "$install_pkg" ]; then
pkgname="$(basename "$install_pkg")"
cp "$install_pkg" "$copydir/$pkgname"
- mkarchroot -r "pacman -U /$pkgname" "$copydir"
+ mkarchroot -r "pacman -U /$pkgname --noconfirm" "$copydir"
ret=$?
rm "$copydir/$pkgname"
# Exit early, we've done all we need to