Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man8 afterboot.8: Use cdn. Don't be arch specific....



details:   https://anonhg.NetBSD.org/src/rev/7929cf46a323
branches:  trunk
changeset: 937303:7929cf46a323
user:      nia <nia%NetBSD.org@localhost>
date:      Sat Aug 15 14:42:02 2020 +0000

description:
afterboot.8: Use cdn. Don't be arch specific. Requested by leot.

diffstat:

 share/man/man8/afterboot.8 |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r d40f878f19f7 -r 7929cf46a323 share/man/man8/afterboot.8
--- a/share/man/man8/afterboot.8        Sat Aug 15 13:49:09 2020 +0000
+++ b/share/man/man8/afterboot.8        Sat Aug 15 14:42:02 2020 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: afterboot.8,v 1.67 2020/08/15 13:49:09 nia Exp $
+.\"    $NetBSD: afterboot.8,v 1.68 2020/08/15 14:42:02 nia Exp $
 .\"    $OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m4%umn.edu@localhost
@@ -904,14 +904,14 @@
 .Nx
 packages collection, pkgsrc, includes a large set of third-party software.
 A lot of it is available as binary packages that you can download from
-.Lk https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/
+.Lk https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/
 or a mirror.
 .Pp
 For most users, using pkgin to manage binary packages is recommended.
 .Pp
 To install pkgin, if it was not done by the installer:
 .Bd -literal -offset indent
-.Ic export PKG_PATH=https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/9.0/amd64/All
+.Ic export PKG_PATH=https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/$(uname -r | cut -d_ -f1)/$(sysctl -n hw.machine_arch)/All
 .Ic pkg_add pkgin
 .Ic pkgin update
 .Ic pkgin install bash mpg123 fluxbox ...



Home | Main Index | Thread Index | Old Index