Install a package in the chroot without confirm

Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
Andrea Scarpino 2011-07-22 20:58:52 +02:00 committed by Pierre Schmitz
parent d177c87080
commit c57284e053
1 changed files with 1 additions and 1 deletions

View File

@ -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