diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2008-08-17 19:23:12 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-08-23 16:50:40 +0200 |
commit | baf58525553db8f1e680de16793b147c88df59e2 (patch) | |
tree | 885014fda3855817a4468667a020052d60dc0463 /src/pacman/pacman.c | |
parent | 8146f6f1c6bbd7bf642cb263ca1658234fb7e48a (diff) | |
download | pacman-baf58525553db8f1e680de16793b147c88df59e2.tar.gz pacman-baf58525553db8f1e680de16793b147c88df59e2.tar.xz |
Move -Sp implementation to the front-end
This patch kills one of our hackish pseudo transactions: PRINTURIS.
(The other one is -Sw)
From now on, front-end must not call trans_commit in case of -Sp,
it should print the uris of target packages "by hand" instead.
PRINTURIS flag was removed, NOCONFLICTS flag can be passed to skip
conflict checks.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r-- | src/pacman/pacman.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 04b5e491..83e713a8 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -462,7 +462,8 @@ static int parseargs(int argc, char *argv[]) case 'o': config->op_q_owns = 1; break; case 'p': config->op_q_isfile = 1; - config->flags |= PM_TRANS_FLAG_PRINTURIS; + config->op_s_printuris = 1; + config->flags |= PM_TRANS_FLAG_NOCONFLICTS; break; case 'q': config->quiet = 1; |