Date: Sat, 23 Aug 2003 17:28:23 +0200 From: "Simon L. Nielsen" <simon@FreeBSD.org> To: Mario Freitas <sub_0@netcabo.pt> Cc: freebsd-doc@freebsd.org Subject: Re: Porter's Handbook Mistake? Message-ID: <20030823152822.GD391@FreeBSD.org> In-Reply-To: <1061647704.7607.20.camel@suzy.unbreakable.homeunix.org> References: <1061601117.42555.0.camel@suzy.unbreakable.homeunix.org> <20030823101050.GA391@FreeBSD.org> <1061647704.7607.20.camel@suzy.unbreakable.homeunix.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 2003.08.23 15:08:24 +0100, Mario Freitas wrote: > On Sat, 2003-08-23 at 11:10, Simon L. Nielsen wrote: > > I don't think so.. From pkg_delete(1): > > > > ... > > distribution. The deinstall script is called as: > > script <pkg-name> DEINSTALL > > where pkg-name is the name of the package in question and DEINSTALL is a > > keyword denoting this as the pre-deinstallation phase. > > ... > > The post-deinstall script is called as: > > script <pkg-name> POST-DEINSTALL > > where pkg-name is the name of the package in question and POST-DEINSTALL > > is a keyword denoting this as the post-deinstallation phase. > > > > and a quick check of the pkg_delete source code seems to confirm this. > > > Yes you're right, wouldn't be better , "pkg-deinstall" (PRE-DEINSTALL > and POST-DEINSTALL) just for a better standardization? Or is there any > better reason, behind all this, not > to do "pkg-deinstall"(including both "targets") the default script > filename? I'm not sure it it is actually run before the deinstall. In any case it's not really possible to change it, since there are a lot of packages out there that expect DEINSTALL, so changeing it in pkg_delete would break them. Anyway, this is more a topic for -ports, -hackers or similar. -- Simon L. Nielsen FreeBSD Documentation Team [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/R4gWh9pcDSc1mlERAiPhAJ41HHDQC+PW52Az4er5Xx7PGk0yNACcCoz6 45R1qf3/biik+ygj4ePmU9o= =Z2YH -----END PGP SIGNATURE-----help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030823152822.GD391>
