Date: Wed, 9 Aug 1995 03:31:28 -0700 From: asami@cs.berkeley.edu (Satoshi Asami) To: jkh@time.cdrom.com Cc: CVS-commiters@freefall.freebsd.org, cvs-ports@freefall.freebsd.org Subject: Re: cvs commit: ports/lang/python/pkg PLIST Message-ID: <199508091031.DAA03855@silvia.HIP.Berkeley.EDU> In-Reply-To: <28779.807960268@time.cdrom.com> (jkh@time.cdrom.com)
next in thread | previous in thread | raw e-mail | index | archive | help
* > Modified: lang/python/pkg PLIST * > Log: * > List all files in lib/python, plus one @exec/unexec mkdir/rmdir pair * > for an empty directory. * * But.. Why? Several reasons.... (1) pkg_delete can't delete the subdirectory registered by fake-pkg if it's only the directory name. (And don't go fix it to use rm -r, there *might* be user files added after installation.) (2) Makes it harder to accidentally include some post-installation addition. I learned my lesson when I shipped my private dictionary with the Wnn port. ;) I'm actually thinking of adding --norecurse to the tar command line. That will solve the above problems by forcing PLIST writers to list all the files. Also, writing PLIST will simply be a matter of "find ." .... :) (It doesn't work now because you have to exclude directories...but have to list empty directories separately....etc.) Satoshi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508091031.DAA03855>