[pacman-dev] [PATCH 3/7] repo-add: only update database if entire command succeeded