diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2013-10-29 12:25:22 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2013-10-29 12:25:22 +0000 |
commit | b8f1640fa056402fce0911df2228e42d9b90a2f5 (patch) | |
tree | 855b051f472455c61311fdc61a5b07a4b9159623 /usr.sbin/pkg/config.c | |
parent | 7fcf8773f447dccc87ae37d4b3792e7343167707 (diff) | |
download | FreeBSD-src-b8f1640fa056402fce0911df2228e42d9b90a2f5.zip FreeBSD-src-b8f1640fa056402fce0911df2228e42d9b90a2f5.tar.gz |
MFC r257051:
Add support for using "pkg+http://" for the PACKAGESITE.
pkg 1.2 is adding this support as well. This should help
lessen the confusion on why the default SRV PACKAGESITE
does not load in a browser.
Approved by: bapt
Approved by: re (glebius)
Diffstat (limited to 'usr.sbin/pkg/config.c')
-rw-r--r-- | usr.sbin/pkg/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg/config.c b/usr.sbin/pkg/config.c index 429aad6..6a6b27d 100644 --- a/usr.sbin/pkg/config.c +++ b/usr.sbin/pkg/config.c @@ -62,7 +62,7 @@ static struct config_entry c[] = { [PACKAGESITE] = { PKG_CONFIG_STRING, "PACKAGESITE", - "http://pkg.FreeBSD.org/${ABI}/latest", + URL_SCHEME_PREFIX "http://pkg.FreeBSD.org/${ABI}/latest", NULL, false, }, |