Be verbose and tell where pkg(8) is being bootstrapped from.

Approved by:	bapt
MFC after:	2 days
This commit is contained in:
Bryan Drewery 2013-10-26 03:32:06 +00:00
parent bc5e9ac08d
commit 95073c2d2e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=257146

View File

@ -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. */