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:
parent
5815d639f3
commit
d09d34d77a
|
@ -34,7 +34,7 @@ usage() {
|
||||||
while getopts 'r:ufnhC:M:c:' arg; do
|
while getopts 'r:ufnhC:M:c:' arg; do
|
||||||
case "${arg}" in
|
case "${arg}" in
|
||||||
r) RUN="$OPTARG" ;;
|
r) RUN="$OPTARG" ;;
|
||||||
u) RUN='pacman -Syu --noconfirm' ;;
|
u) RUN='pacman -Syu --noconfirm; pacman -Qqu >/dev/null && pacman -Su --noconfirm' ;;
|
||||||
f) FORCE='y' ;;
|
f) FORCE='y' ;;
|
||||||
C) pac_conf="$OPTARG" ;;
|
C) pac_conf="$OPTARG" ;;
|
||||||
M) makepkg_conf="$OPTARG" ;;
|
M) makepkg_conf="$OPTARG" ;;
|
||||||
|
|
Loading…
Reference in New Issue