Upgrade the database after upgrading pacman

This commit is contained in:
Pedro Algarvio 2015-01-07 03:01:23 +00:00
parent d842386d27
commit e489010c3d

View file

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