From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 173E01382C5 for ; Fri, 23 Mar 2018 11:08:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C654E08EF; Fri, 23 Mar 2018 11:08:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D6914E08EF for ; Fri, 23 Mar 2018 11:08:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EB842335C06 for ; Fri, 23 Mar 2018 11:08:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3262232 for ; Fri, 23 Mar 2018 11:08:17 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1521802915.eedb0ea266b78efd84bc34bc2c6602fb713ba590.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: qmerge.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: eedb0ea266b78efd84bc34bc2c6602fb713ba590 X-VCS-Branch: master Date: Fri, 23 Mar 2018 11:08:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1156b132-af80-4add-8715-7df6162f5bee X-Archives-Hash: ace432ebb40ff249ab67139f5b1b3816 commit: eedb0ea266b78efd84bc34bc2c6602fb713ba590 Author: Joakim Tjernlund infinera com> AuthorDate: Thu Mar 8 21:53:51 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri Mar 23 11:01:55 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=eedb0ea2 qmerge: Only fetch Packages if -f/-F is specified Signed-off-by: Joakim Tjernlund infinera.com> Signed-off-by: Fabian Groffen gentoo.org> qmerge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qmerge.c b/qmerge.c index ff55a0c..ebd4960 100644 --- a/qmerge.c +++ b/qmerge.c @@ -190,8 +190,8 @@ qmerge_initialize(void) mkdir_p(buf, 0755); xchdir(buf); - if (force_download != 2) { - if (force_download) + if (force_download) { + if (force_download == 2) unlink(Packages); if (access(Packages, R_OK) != 0)