summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwgiokas <1007380@gmail.com>2012-11-19 18:51:06 -0600
committerAllan McRae <allan@archlinux.org>2012-11-27 15:16:15 +1000
commit6b1deedf15d14e426e5450b759710e8782c22ab3 (patch)
treec378c43f26933b75e50e93bf80edf184d03df048 /doc
parent3536975bbf89214d393068195563bebb7236ab70 (diff)
downloadpacman-6b1deedf15d14e426e5450b759710e8782c22ab3.tar.xz
Add --needed option to makepkg
Simply add the option to pass the --needed flag to pacman when using -i with makepkg. When using makepkg in scripts, particularly for git packages with the new version functions and not just a date, this can save disk io and time instead of reinstalling. This would mostly be useful with the --noconfirm option. Signed-off-by: wgiokas <1007380@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/makepkg.8.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt
index 9d19e38e..498c79bb 100644
--- a/doc/makepkg.8.txt
+++ b/doc/makepkg.8.txt
@@ -173,6 +173,10 @@ Options
(Passed to pacman) Prevent pacman from waiting for user input before
proceeding with operations.
+*\--needed*::
+ (Passed to pacman) Tell pacman not to reinstall a target if it is already
+ up to date. (used with -i / --install).
+
*\--asdeps*::
(Passed to pacman) Install packages as non-explicitly installed (used
with -i / --install).