From owner-cvs-all Thu Feb 22 15:56:39 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id C77B237B503; Thu, 22 Feb 2001 15:56:33 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.2/8.11.2) with ESMTP id f1MNuA056180; Thu, 22 Feb 2001 23:56:11 GMT (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.2/8.11.1) with ESMTP id f1MNw5K09079; Thu, 22 Feb 2001 23:58:05 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200102222358.f1MNw5K09079@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Maxim Sobolev Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org Subject: Re: cvs commit: src/usr.sbin/pkg_install/delete perform.c In-Reply-To: Message from Maxim Sobolev of "Mon, 19 Feb 2001 05:26:13 PST." <200102191326.f1JDQD226989@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Feb 2001 23:58:05 +0000 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > sobomax 2001/02/19 05:26:13 PST > > Modified files: > usr.sbin/pkg_install/delete perform.c > Log: > Improve pkg_delete(1) behaviour when deleting several packages at once. > > Instead of trying to delete packages in the same order as they were specified > in the command line, reorder deletion in such a way that if package A depends > on package B then package A will be deleted before B no matter in which order > they were specified in the command line. Nice one ! -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message