[Git][pacman/pacman][master] repo-add: unconditionally create the database if it is missing
Allan McRae pushed to branch master at Pacman / Pacman Commits: 8d14b222 by Allan McRae at 2024-06-27T22:04:28+10:00 repo-add: unconditionally create the database if it is missing In f91fa546 (repo-add: do not recreate the database if nothing was changed), repo-add was made to skip database write-out if there were no changes to the database. However, this breaks the usage of repo-add to create a new empty database: `repo-add /path/to/mydb/mydb.db.tar.xz`. Bring back support for this use-case by always writing the database if it is missing. Original-patch-by: Ivan Shapovalov <intelfx@intelfx.name> Signed-off-by: Allan McRae <allan@archlinux.org> - - - - - 1 changed file: - scripts/repo-add.sh.in View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/8d14b22260026ec3d567d636... -- View it on GitLab: https://gitlab.archlinux.org/pacman/pacman/-/commit/8d14b22260026ec3d567d636... You're receiving this email because of your account on gitlab.archlinux.org.
participants (1)
-
Allan McRae (@allan)