diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-11-25 22:15:21 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-11-25 22:15:21 -0500 |
commit | 7a2912b9e522705c2bcb95036c62860d0ffcdb6f (patch) | |
tree | 165f48be8ab65bdc0b57d4eccb5e6fdc1c5c6758 /src/chroot-tools/librechroot | |
parent | b9e047bf0e31236be69388a91422686c55bd702b (diff) |
librechroot: touch up
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 |