Source-Changes-D archive

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

Re: CVS commit: src/share/man/man8



Hello Nia,

Nia Alarie writes:
> [...]
> Log Message:
> afterboot.8: Explain how to install pkgin on a fresh system
> [...]
> +.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 pkg_add pkgin
> [...]

Can this use cdn.NetBSD.org and made a bit more general instead of
hardcoding version/port please?

Instead of 9.0/amd64 probably something like:

 $(uname -r | tr -cd '[0-9.]')/$(sysctl -n hw.machine_arch)

(the `tr -cd '[0-9.]'' should get rid of possible _STABLE, _BETA and
similar... probably there are better way to do it, in that case please
adjust it or let me know!)


Thanks!


Home | Main Index | Thread Index | Old Index