[pacman-dev] [PATCH] check localdb before upgrading package