From d09d34d77aeca074852764a31473ac7723985e69 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 6 Jan 2011 09:22:57 +0100 Subject: 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. --- mkarchroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mkarchroot') diff --git a/mkarchroot b/mkarchroot index b9c4fb5..cc92387 100755 --- a/mkarchroot +++ b/mkarchroot @@ -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" ;; -- cgit v1.2.3-70-g09d2