Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mkarchroot
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-01-06 09:22:57 +0100
committerPierre Schmitz <pierre@archlinux.de>2011-01-06 09:22:57 +0100
commitd09d34d77aeca074852764a31473ac7723985e69 (patch)
tree7e6080b0ee6c8d95cb01671ef622a18695872aee /mkarchroot
parent5815d639f38ebd8a5622706a18bbfe64f747fd32 (diff)
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.
Diffstat (limited to 'mkarchroot')
-rwxr-xr-xmkarchroot2
1 files changed, 1 insertions, 1 deletions
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" ;;