From f3fa77bcf1d792971c314f8c0de255866e89f3f3 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 11 Aug 2011 01:00:47 -0500 Subject: Add -S --recursive operation This closely matches what we had before for -R --recursive. Basically, when specifying a target (e.g., pacman), we can now recursively pull all dependencies, regardless of version specifiers and whether they are already satisfied in the local database. This could be used to update pacman on a system with an old glibc, for example, as both pacman and glibc would get pulled into the transaction. This is most useful with --needed to prevent needless reinstalls as described in the man page changes. The end goal of this change is to wire it into SyncFirst and have it be the default mode of operation there, but that belongs in a separate changeset. Signed-off-by: Dan McGee --- src/pacman/conf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pacman/conf.h') diff --git a/src/pacman/conf.h b/src/pacman/conf.h index bce42ab5..33a87983 100644 --- a/src/pacman/conf.h +++ b/src/pacman/conf.h @@ -123,7 +123,8 @@ enum { OP_ASEXPLICIT, OP_ARCH, OP_PRINTFORMAT, - OP_GPGDIR + OP_GPGDIR, + OP_RECURSIVE }; /* clean method */ -- cgit v1.2.3-24-g4f1b