Date: 18 Dec 2003 10:55:30 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Subject: Re: how do I change ftp site pkg_add -r uses Message-ID: <448yla15ot.fsf@be-well.ilk.org> In-Reply-To: <MIEPLLIBMLEEABPDBIEGOEANFBAA.fbsd_user@a1poweruser.com> References: <MIEPLLIBMLEEABPDBIEGOEANFBAA.fbsd_user@a1poweruser.com>
next in thread | previous in thread | raw e-mail | index | archive | help
top-post. don't Please <http://www.faqs.org/docs/jargon/T/top-post.html> > There's an environment variable described in the manual page for > pkg_add which claims to do that. > Yes I read that, but it does not say how to display current setting > or how to change it. To see the current setting, you just use the program and it tells you where it's going. To change it, you set the variable to a different value in your environment. How you set an environment variable depends on what shell you use, but for sh-style shells, the example from the manual page would be # PACKAGEROOT='ftp://ftp3.FreeBSD.org' # export PACKAGEROOT Please read the Handbook section on "Shells". http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/shells.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?448yla15ot.fsf>