Add "/pub" to the PKG_PATH lines in the default .cshrc and .profile so they

actually have a chance of working.  Also provide an example of how to include
 more than one path.
This commit is contained in:
erh 2009-02-15 01:31:43 +00:00
parent 60ebbc4e81
commit f0bb687386
2 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: dot.cshrc,v 1.19 2008/11/19 18:07:20 cube Exp $
# $NetBSD: dot.cshrc,v 1.20 2009/02/15 01:31:43 erh Exp $
alias h history
alias j jobs -l
@ -20,9 +20,10 @@ alias tset 'set noglob histchars=""; eval `\tset -s \!*`; unset noglob histchars
setenv BLOCKSIZE 1k
# Uncomment the following line to install binary packages
# Uncomment the following line(s) to install binary packages
# from ftp.NetBSD.org via pkg_add.
#setenv PKG_PATH ftp://ftp.netbsd.org/pkgsrc/packages/NetBSD/`uname -m`/5.99/All
#setenv PKG_PATH ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/`uname -m`/5.99/All
#setenv PKG_PATH "${PKG_PATH};ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/`uname -m`/5.0/All"
set history=1000
set path=(/sbin /usr/sbin /bin /usr/bin /usr/pkg/sbin /usr/pkg/bin /usr/X11R7/bin /usr/X11R6/bin /usr/local/sbin /usr/local/bin)

View File

@ -1,11 +1,12 @@
# $NetBSD: dot.profile,v 1.20 2008/11/19 18:07:20 cube Exp $
# $NetBSD: dot.profile,v 1.21 2009/02/15 01:31:43 erh Exp $
export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin
export PATH=${PATH}:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
# Uncomment the following line to install binary packages
# Uncomment the following line(s) to install binary packages
# from ftp.NetBSD.org via pkg_add.
#export PKG_PATH=ftp://ftp.netbsd.org/pkgsrc/packages/NetBSD/$(uname -m)/5.99/All
#export PKG_PATH=ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/5.99/All
#export PKG_PATH="${PKG_PATH};ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/$(uname -m)/5.0/All"
export BLOCKSIZE=1k