From 58782b1c55043c8f4fe56ce7c18a6384f00143fd Mon Sep 17 00:00:00 2001 From: Phillip Smith Date: Mon, 3 Jun 2013 15:05:10 +1000 Subject: repo-add; add option to remove existing package files from disk When maintaining a custom repo, often it is undesirable to retain older versions of packages. This patch adds the --remove option to remove the current package file and it's signature from disk before adding the new one to the database. Documentation is also updated. This is an optional flag and default behaviour (leaving ondisk files alone) is not changed. Signed-off-by: Phillip Smith Signed-off-by: Allan McRae --- doc/repo-add.8.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/repo-add.8.txt b/doc/repo-add.8.txt index 049195a7..80f58658 100644 --- a/doc/repo-add.8.txt +++ b/doc/repo-add.8.txt @@ -75,6 +75,10 @@ repo-add Options Only add packages that are not already in the database. Warnings will be printed upon detection of existing packages, but they will not be re-added. +*-R, \--remove*:: + Remove old package files from the disk when updating their entry in the + database. + See Also -------- linkman:makepkg[8], linkman:pacman[8], linkman:pkgdelta[8] -- cgit v1.2.3-70-g09d2