Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Apr 2011 03:27:21 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r221051 - user/dougb/portmaster
Message-ID:  <201104260327.p3Q3RLFY004914@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104260327.p3Q3RLFY004914>