diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-01-06 09:22:57 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-01-06 09:22:57 +0100 |
commit | d09d34d77aeca074852764a31473ac7723985e69 (patch) | |
tree | 7e6080b0ee6c8d95cb01671ef622a18695872aee | |
parent | 5815d639f38ebd8a5622706a18bbfe64f747fd32 (diff) | |
download | devtools-d09d34d77aeca074852764a31473ac7723985e69.tar.xz |
mkarchroot: Ensure all packages have been updated
In reference to FS#22304 run pacman -Su again if there are still updates available.
This is the case for packages listed in SyncFirst.
-rwxr-xr-x | mkarchroot | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ usage() { while getopts 'r:ufnhC:M:c:' arg; do case "${arg}" in r) RUN="$OPTARG" ;; - u) RUN='pacman -Syu --noconfirm' ;; + u) RUN='pacman -Syu --noconfirm; pacman -Qqu >/dev/null && pacman -Su --noconfirm' ;; f) FORCE='y' ;; C) pac_conf="$OPTARG" ;; M) makepkg_conf="$OPTARG" ;; |