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.
This commit is contained in:
Pierre Schmitz 2011-01-06 09:22:57 +01:00
parent 5815d639f3
commit d09d34d77a
1 changed files with 1 additions and 1 deletions

View File

@ -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" ;;