index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Pierre Schmitz <pierre@archlinux.de> | 2011-01-08 17:29:56 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-01-08 17:29:56 +0100 |
commit | bcf8cd7eb1c222064de9fc19b06ca6f511bc1f04 (patch) | |
tree | 9497c062283e15445c9ec6edc9b80b84b6bf16b7 /mkarchroot | |
parent | 95afa2e49570e6059e5d9aa397fe944ea802f02e (diff) |
-rwxr-xr-x | mkarchroot | 2 |
@@ -34,7 +34,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"' ;; + u) RUN='/bin/sh -c "pacman -Syu --noconfirm && (pacman -Qqu >/dev/null && pacman -Su --noconfirm || exit 0)"' ;; f) FORCE='y' ;; C) pac_conf="$OPTARG" ;; M) makepkg_conf="$OPTARG" ;; |