Date: Fri, 4 Feb 2005 10:35:46 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Florent Thoumie <flz@xbsd.org> Cc: hq@freebsd.org Subject: Re: bin/77082: src/usr.sbin/pkg_install - Add 3 new macros to clean pkg-plist Message-ID: <20050204183546.GA5389@odin.ac.hmc.edu> In-Reply-To: <42039BAA.2070900@xbsd.org> References: <200502032350.j13NoKLF045837@freefall.freebsd.org> <42039BAA.2070900@xbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Feb 04, 2005 at 04:58:34PM +0100, Florent Thoumie wrote: > Here is a new version. > > I've renamed @dirrmie by @dirrmtry, which is more self-explanatory. It seems like dirrmtry should take an optional message to emit if the event that the directory can not be delete. That way the user can be informed that the directory should be removed if they are really done using the port. > @cpin and @rmiu have been replaced by @conf. > > @conf %%EXAMPLESDIR%%/etc/foo.conf etc/foo.conf > > is equivalent to : > > @unexec cmp -s %D/%%EXAMPLESDIR%%/etc/foo.conf %D/etc/foo.conf && rm -f > %D/etc/foo.conf > %%EXAMPLESDIR%%/etc/foo.conf > @exec [ -f %B/foo.conf ] || cp %B/%f %B/foo.conf Excellent. Have you thought about how to solve the boot strapping problems with pkg_install/pkg_delete? Our nominal pkg_install maintainer is MIA at the moment. -- Brooks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050204183546.GA5389>