diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-04-06 18:43:01 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-04-06 18:43:01 +0200 |
commit | 71b15aafb64b8c8d032eab7d41e15c6e4f648c58 (patch) | |
tree | 2e13f3b85cddcee3a2ca6dfffa70ed5ffc43f063 | |
parent | 4bcafd9768be4d1fefea2047ea1f34d8904eeb9e (diff) | |
download | devtools-71b15aafb64b8c8d032eab7d41e15c6e4f648c58.tar.xz |
Simplify update call as pacman does no longer support SyncFirst
-rw-r--r-- | mkarchroot.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkarchroot.in b/mkarchroot.in index 454d789..9059cdb 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -38,7 +38,7 @@ usage() { while getopts 'r:ufnhC:M:c:' arg; do case "${arg}" in r) RUN="$OPTARG" ;; - u) RUN='/bin/sh -c "pacman -Syu --noconfirm && (pacman -Qqu >/dev/null && pacman -Su --noconfirm || exit 0)"' ;; + u) RUN='pacman -Syu --noconfirm' ;; f) FORCE='y' ;; C) pac_conf="$OPTARG" ;; M) makepkg_conf="$OPTARG" ;; @@ -128,7 +128,7 @@ chroot_lock () { chroot_run() { local dir=$1 shift - eval systemd-nspawn -D "${dir}" "${mount_args[@]}" -- ${@} 2>/dev/null + systemd-nspawn -D "${dir}" "${mount_args[@]}" -- ${@} 2>/dev/null } # }}} |