mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Upgrade the database after upgrading pacman
This commit is contained in:
parent
d842386d27
commit
e489010c3d
1 changed files with 2 additions and 2 deletions
|
@ -3384,12 +3384,12 @@ install_arch_linux_stable_deps() {
|
|||
pacman-key --init && pacman-key --populate archlinux || return 1
|
||||
fi
|
||||
|
||||
pacman -Sy --noconfirm --needed pacman || return 1
|
||||
|
||||
if [ "$(which pacman-db-upgrade)" != "" ]; then
|
||||
pacman-db-upgrade || return 1
|
||||
fi
|
||||
|
||||
pacman -Sy --noconfirm --needed pacman || return 1
|
||||
|
||||
if [ "$_UPGRADE_SYS" -eq $BS_TRUE ]; then
|
||||
pacman -Syyu --noconfirm --needed || return 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue