From owner-freebsd-doc@FreeBSD.ORG Sat Aug 23 08:28:26 2003 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF49616A4BF for ; Sat, 23 Aug 2003 08:28:26 -0700 (PDT) Received: from arthur.nitro.dk (port324.ds1-khk.adsl.cybercity.dk [212.242.113.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 087B943F85 for ; Sat, 23 Aug 2003 08:28:24 -0700 (PDT) (envelope-from simon@arthur.nitro.dk) Received: by arthur.nitro.dk (Postfix, from userid 1000) id 5613010BFA8; Sat, 23 Aug 2003 17:28:23 +0200 (CEST) Date: Sat, 23 Aug 2003 17:28:23 +0200 From: "Simon L. Nielsen" To: Mario Freitas Message-ID: <20030823152822.GD391@FreeBSD.org> References: <1061601117.42555.0.camel@suzy.unbreakable.homeunix.org> <20030823101050.GA391@FreeBSD.org> <1061647704.7607.20.camel@suzy.unbreakable.homeunix.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kVXhAStRUZ/+rrGn" Content-Disposition: inline In-Reply-To: <1061647704.7607.20.camel@suzy.unbreakable.homeunix.org> User-Agent: Mutt/1.5.4i cc: freebsd-doc@freebsd.org Subject: Re: Porter's Handbook Mistake? X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2003 15:28:26 -0000 --kVXhAStRUZ/+rrGn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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): > >=20 > > ... > > distribution. The deinstall script is called as: > > script DEINSTALL > > where pkg-name is the name of the package in question and DEINSTAL= L is a > > keyword denoting this as the pre-deinstallation phase. > > ... > > The post-deinstall script is called as: > > script POST-DEINSTALL > > where pkg-name is the name of the package in question and POST-DEI= NSTALL > > is a keyword denoting this as the post-deinstallation phase. > >=20 > > and a quick check of the pkg_delete source code seems to confirm this. >=20 >=20 > 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. --=20 Simon L. Nielsen FreeBSD Documentation Team --kVXhAStRUZ/+rrGn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/R4gWh9pcDSc1mlERAiPhAJ41HHDQC+PW52Az4er5Xx7PGk0yNACcCoz6 45R1qf3/biik+ygj4ePmU9o= =Z2YH -----END PGP SIGNATURE----- --kVXhAStRUZ/+rrGn--