summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPhillip Smith <fukawi2@gmail.com>2013-06-03 07:05:10 +0200
committerAllan McRae <allan@archlinux.org>2013-06-06 05:47:32 +0200
commit58782b1c55043c8f4fe56ce7c18a6384f00143fd (patch)
tree481d7ce7e8c33e879441c341b8436e19a25638ff /doc
parent37e85c0031147901b646574cf48b753a018e00c6 (diff)
downloadpacman-58782b1c55043c8f4fe56ce7c18a6384f00143fd.tar.gz
pacman-58782b1c55043c8f4fe56ce7c18a6384f00143fd.tar.xz
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 <fukawi2@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/repo-add.8.txt4
1 files changed, 4 insertions, 0 deletions
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]