From owner-cvs-all Thu Apr 11 7:17:10 2002 Delivered-To: cvs-all@freebsd.org Received: from south.nanolink.com (south.nanolink.com [217.75.134.10]) by hub.freebsd.org (Postfix) with SMTP id 61BB037B405 for ; Thu, 11 Apr 2002 07:17:02 -0700 (PDT) Received: (qmail 48748 invoked from network); 11 Apr 2002 14:23:27 -0000 Received: from discworld.nanolink.com (HELO straylight.ringlet.net) (217.75.135.248) by south.nanolink.com with SMTP; 11 Apr 2002 14:23:27 -0000 Received: (qmail 23015 invoked by uid 1000); 11 Apr 2002 14:16:53 -0000 Date: Thu, 11 Apr 2002 17:16:53 +0300 From: Peter Pentchev To: Akinori MUSHA Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/x11/wrapper Makefile pkg-deinstall Message-ID: <20020411171653.E43974@straylight.oblivion.bg> Mail-Followup-To: Akinori MUSHA , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org References: <200204111156.g3BBuuF07977@freefall.freebsd.org> <868z7ubffl.wl@archon.local.idaemons.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="RIYY1s2vRbPFwWeW" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <868z7ubffl.wl@archon.local.idaemons.org>; from knu@iDaemons.org on Thu, Apr 11, 2002 at 09:14:22PM +0900 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --RIYY1s2vRbPFwWeW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 11, 2002 at 09:14:22PM +0900, Akinori MUSHA wrote: > At Thu, 11 Apr 2002 04:56:56 -0700 (PDT), > Peter Pentchev wrote: > > roam 2002/04/11 04:56:56 PDT > >=20 > > Modified files: > > x11/wrapper Makefile pkg-deinstall=20 > > Log: > > Fix package deinstallation: only move X.bck over X if the former exis= ts. > > Since pkg_deinstall(1) invokes the package deinstall script twice, > > at the second invocation X.bck is no longer there, and mv(1), even wi= th > > the -f flag, returns a non-zero exit code. The shell executing the s= cript > > propagates this exit code right back unto pkg_deinstall(1), which com= plains > > and aborts the package deinstallation. >=20 > You mean pkg_deinstall(1) included in the portupgrade suite, or is it > just a misspelling of pkg_delete(1) sitting in the base? Oops; of course I meant pkg_delete(1), sorry for the jolt that must have given you :) G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I am not the subject of this sentence. --RIYY1s2vRbPFwWeW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjy1mtUACgkQ7Ri2jRYZRVM3ewCguWiAIrgxSD77f4/+QaO58rnh kfsAoIFAYfoaMvy75SeqKpaWpq/peLIA =s0FK -----END PGP SIGNATURE----- --RIYY1s2vRbPFwWeW-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message