Date: Sun, 8 Jan 2012 14:47:11 +0000 From: Chris Rees <crees@freebsd.org> To: Martin Kropfinger <freebsd@rakor-net.de> Cc: freebsd-ports@freebsd.org Subject: Re: How to handle config files Message-ID: <CADLo83_jZHRWnNZ3mnWg3q51ivoYYKU7S4cUACmaf%2BBak5TVig@mail.gmail.com> In-Reply-To: <20120108135933.51867668@rakor-net.de> References: <20120108135933.51867668@rakor-net.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8 January 2012 12:59, Martin Kropfinger <freebsd@rakor-net.de> wrote: > Hi there! > > The porters handbook describes a way to handle config files: > > http://www.freebsd.org/doc/en/books/porters-handbook/plist-config.html > > It is recommended to do it this way for keeping changed files after > deinstallation on the system. But the example is not really clear to me. > > What does this line do: > @exec if [ ! -f %D/etc/orbit.conf ] ; then cp -p %D/%F %B/orbit.conf; fi > > Nothing is said about those variables... %D (which seems to be > %%PREFIX%%) and %F or %B. > > Can anyone give me some help? man pkg_create will tell you all about these variables :) Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_jZHRWnNZ3mnWg3q51ivoYYKU7S4cUACmaf%2BBak5TVig>