Date: Mon, 9 Feb 2009 14:03:28 +0100 From: Uwe Laverenz <uwe@laverenz.de> To: freebsd-questions@freebsd.org Subject: Re: CUPS, initial PATH environment Message-ID: <20090209130328.GA998@laverenz.de> In-Reply-To: <Pine.GSO.4.63.0902091345490.7603@hmacs.cmi.ua.ac.be> References: <Pine.GSO.4.63.0902091345490.7603@hmacs.cmi.ua.ac.be>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 09, 2009 at 01:46:46PM +0100, Pieter Donche wrote: > If one installs CUPS as the printing system, one must use the > /usr/local/bin versions of lp, lpr, lpq and lprm instead of the > FreeBSD versions in /usr/bin, otherwise you get errors when using > the command line interface... > > I could rename /usr/bin/lp, lpr, lpq, lprm to e.g. lp.origfreebsd, etc.. > forcing the use of the /usr/local/bin versions > but this would oblige me to do that again after every FreeSBD upgrade. There is a flag for cups that should disable the commands in the base system. Before installing cups you can add the following line to your /etc/make.conf: CUPS_OVERWRITE_BASE=YES And to prevent reinstallation during a system upgrade you can add the following line to /etc/src.conf: WITHOUT_LPR=YES bye, Uwe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090209130328.GA998>