From owner-cvs-all Thu Apr 11 5:14:32 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.musha.org (daemon.musha.org [218.44.187.2]) by hub.freebsd.org (Postfix) with ESMTP id 1F0BB37B400; Thu, 11 Apr 2002 05:14:24 -0700 (PDT) Received: from archon.local.idaemons.org (archon.local.idaemons.org [192.168.1.32]) by mail.musha.org (Postfix) with ESMTP id 4E71B4D819; Thu, 11 Apr 2002 21:14:22 +0900 (JST) Date: Thu, 11 Apr 2002 21:14:22 +0900 Message-ID: <868z7ubffl.wl@archon.local.idaemons.org> From: "Akinori MUSHA" To: Peter Pentchev Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/x11/wrapper Makefile pkg-deinstall In-Reply-To: <200204111156.g3BBuuF07977@freefall.freebsd.org> References: <200204111156.g3BBuuF07977@freefall.freebsd.org> User-Agent: Wanderlust/2.9.8 (Unchained Melody) SEMI/1.14.3 (Ushinoya) LIMIT/1.14.7 (Fujiidera) APEL/10.3 MULE XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) Organization: Associated I. Daemons X-PGP-Public-Key: finger knu@FreeBSD.org X-PGP-Fingerprint: 081D 099C 1705 861D 4B70 B04A 920B EFC7 9FD9 E1EE MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII 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 At Thu, 11 Apr 2002 04:56:56 -0700 (PDT), Peter Pentchev wrote: > roam 2002/04/11 04:56:56 PDT > > Modified files: > x11/wrapper Makefile pkg-deinstall > Log: > Fix package deinstallation: only move X.bck over X if the former exists. > Since pkg_deinstall(1) invokes the package deinstall script twice, > at the second invocation X.bck is no longer there, and mv(1), even with > the -f flag, returns a non-zero exit code. The shell executing the script > propagates this exit code right back unto pkg_deinstall(1), which complains > and aborts the package deinstallation. You mean pkg_deinstall(1) included in the portupgrade suite, or is it just a misspelling of pkg_delete(1) sitting in the base? -- / /__ __ Akinori.org / MUSHA.org / ) ) ) ) / FreeBSD.org / Ruby-lang.org Akinori MUSHA aka / (_ / ( (__( @ iDaemons.org / and.or.jp "Somewhere out of a memory.. of lighted streets on quiet nights.." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message