Subject: CVS commit: src/usr.sbin/pkg_install/delete
To: None <>
From: Johnny C. Lam <>
List: source-changes
Date: 09/08/2003 07:08:12
Module Name:	src
Committed By:	jlam
Date:		Mon Sep  8 07:08:12 UTC 2003

Modified Files:
	src/usr.sbin/pkg_install/delete: perform.c

Log Message:
When executing "pkg_delete foo", only delete it if "foo" resolves to a
unique package.  This makes deleting packages less surprising in a pkgviews
world where you can have multiple versions of packages installed at the
same time in the package depot.

Also make "pkg_delete -f" work depoted packages if they have been added to
views by also running "pkg_delete -f" for the package instances in the

To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 src/usr.sbin/pkg_install/delete/perform.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.