summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-15 18:24:00 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-15 18:24:00 -0400
commit3356f339077ed317cd645768092649e9e7369f6c (patch)
treea79ef6cc617118b9bdfcb3ddcfdccafeca1ebb9b
parentc078c5ee26a7d2ce730bd8f7560a5e5e33ddeaad (diff)
librechroot: Add --noconfirm to install-name, don't expect input.
-rwxr-xr-xsrc/chroot-tools/librechroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index 8092f8d..5d1db21 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -478,7 +478,7 @@ main() {
chroot_add_to_local_repo "$copydir" "$@"
;;
install-name)
- arch-nspawn "$copydir" pacman -Sy -- "$@"
+ arch-nspawn "$copydir" pacman -Sy --noconfirm -- "$@" </dev/null
;;
update)
arch-nspawn "$copydir" pacman -Syu --noconfirm </dev/null