From owner-svn-src-user@FreeBSD.ORG Tue Apr 26 03:27:21 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D70B41065670; Tue, 26 Apr 2011 03:27:21 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C67508FC1A; Tue, 26 Apr 2011 03:27:21 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p3Q3RLNw004916; Tue, 26 Apr 2011 03:27:21 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p3Q3RLFY004914; Tue, 26 Apr 2011 03:27:21 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201104260327.p3Q3RLFY004914@svn.freebsd.org> From: Doug Barton Date: Tue, 26 Apr 2011 03:27:21 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r221051 - user/dougb/portmaster X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2011 03:27:21 -0000 Author: dougb Date: Tue Apr 26 03:27:21 2011 New Revision: 221051 URL: http://svn.freebsd.org/changeset/base/221051 Log: Don't do check_state if --index-only Modified: user/dougb/portmaster/portmaster Modified: user/dougb/portmaster/portmaster ============================================================================== --- user/dougb/portmaster/portmaster Tue Apr 26 02:58:39 2011 (r221050) +++ user/dougb/portmaster/portmaster Tue Apr 26 03:27:21 2011 (r221051) @@ -1585,7 +1585,7 @@ check_for_updates () { if [ -z "$do_update" -a -n "$port_ver" ]; then if [ "$iport" = "$port_ver" ]; then - if [ -n "$LIST_PLUS" ]; then + if [ -n "$LIST_PLUS" -a -z "$PM_INDEX_ONLY" ]; then check_state return 0 elif [ -n "$LIST" ]; then