Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=7f3b2f11389481d224561241b7b2046d5c8144eb
commit 7f3b2f11389481d224561241b7b2046d5c8144eb Author: Miklos Vajna <vmik...@frugalware.org> Date: Tue May 17 00:38:35 2011 +0200 pacman -P: silence when dowloading only diff --git a/src/pacman-g2/sync.c b/src/pacman-g2/sync.c index b2899b0..0d27b57 100644 --- a/src/pacman-g2/sync.c +++ b/src/pacman-g2/sync.c @@ -640,7 +640,7 @@ int syncpkg(list_t *targets) retval = 1; goto cleanup; } - if (pspkg(1) > 0) { + if (!(config->flags & PM_TRANS_FLAG_DOWNLOADONLY) && pspkg(1) > 0) { MSG(NL, _(":: There are running processes that use files deleted by pacman-g2.\n")); MSG(NL, _(":: You may wish to restart some of them. Run '%s' to list them.\n"), "pacman-g2 -P"); } _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git