diff options
Diffstat (limited to 'src/chroot-tools/librechroot')
-rwxr-xr-x | src/chroot-tools/librechroot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot index 6e4aaff..0fbb8f7 100755 --- a/src/chroot-tools/librechroot +++ b/src/chroot-tools/librechroot @@ -367,10 +367,10 @@ main() { chroot_add_to_local_repo "$copydir" "$@" ;; install-name) - arch-nspawn "$copydir" pacman -Sy "$@" + arch-nspawn "$copydir" pacman -Sy -- "$@" ;; update) - arch-nspawn "$copydir" bash -c 'pacman -Syu --noconfirm' + arch-nspawn "$copydir" pacman -Syu --noconfirm ;; clean-pkgs) trap "rm -f -- $(printf '%q ' "$copydir"/{bin/chcleanup,chrootexec})" EXIT |