Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2013 03:32:06 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r257146 - head/usr.sbin/pkg
Message-ID:  <201310260332.r9Q3W66R077922@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery (ports committer)
Date: Sat Oct 26 03:32:06 2013
New Revision: 257146
URL: http://svnweb.freebsd.org/changeset/base/257146

Log:
  Be verbose and tell where pkg(8) is being bootstrapped from.
  
  Approved by:	bapt
  MFC after:	2 days

Modified:
  head/usr.sbin/pkg/pkg.c

Modified: head/usr.sbin/pkg/pkg.c
==============================================================================
--- head/usr.sbin/pkg/pkg.c	Sat Oct 26 03:31:05 2013	(r257145)
+++ head/usr.sbin/pkg/pkg.c	Sat Oct 26 03:32:06 2013	(r257146)
@@ -158,7 +158,6 @@ bootstrap_pkg(void)
 	config = NULL;
 	current = mirrors = NULL;
 
-	printf("Bootstrapping pkg, please wait...\n");
 
 	if (config_string(PACKAGESITE, &packagesite) != 0) {
 		warnx("No PACKAGESITE defined");
@@ -169,6 +168,8 @@ bootstrap_pkg(void)
 		return (-1);
 	}
 
+	printf("Bootstrapping pkg from %s, please wait...\n", packagesite);
+
 	/* Support pkg+http:// for PACKAGESITE which is the new format
 	   in 1.2 to avoid confusion on why http://pkg.FreeBSD.org has
 	   no A record. */



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