563f038b
by Allan McRae at 2026-01-07T10:25:07+10:00
repo-add: prevent package file deletion with -R is readding a package
Using "repo-add -R" on a package file that was already present in the
repo resulted in the package file being deleted. Given the package file
was being readded to the repo, this was likely not the desired outcome.
Fixes #294.
Signed-off-by: Allan McRae <allan@archlinux.org>
(cherry picked from commit 5ff7d06b5c63952b2e2e229b7bcdfe58d6c22306)