From 965e1de2174148a7a6c0860a7514d9bb1969bf03 Mon Sep 17 00:00:00 2001 From: Danny George Date: Thu, 13 Dec 2012 07:53:37 -0700 Subject: Add a -n option to repo-add to only add new packages Packages are already in the pkg db were given a warning, and then readded anyway. With -n specified, the warning is printed, but skips readding it. Signed-off-by: Danny George 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 79b5a7ef..91f3ac6d 100644 --- a/doc/repo-add.8.txt +++ b/doc/repo-add.8.txt @@ -68,6 +68,10 @@ repo-add Options specified packages. This is useful for creating databases listing all files in a given sync repository for tools that may use this information. +*-n, \--new*:: + 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. + See Also -------- linkman:makepkg[8], linkman:pacman[8], linkman:pkgdelta[8] -- cgit v1.2.3-70-g09d2