summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-11-25 22:15:21 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-11-25 22:15:21 -0500
commit7a2912b9e522705c2bcb95036c62860d0ffcdb6f (patch)
tree165f48be8ab65bdc0b57d4eccb5e6fdc1c5c6758
parentb9e047bf0e31236be69388a91422686c55bd702b (diff)
librechroot: touch up
-rwxr-xr-xsrc/chroot-tools/librechroot4
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