Subject: CVS commit: [pkgviews] src/usr.sbin/pkg_install
To: None <source-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: source-changes
Date: 07/30/2003 11:04:35
Module Name:	src
Committed By:	jlam
Date:		Wed Jul 30 11:04:35 UTC 2003

Modified Files:
	src/usr.sbin/pkg_install/delete [pkgviews]: perform.c
	src/usr.sbin/pkg_install/lib [pkgviews]: version.h

Log Message:
Enhance pkg_delete(1) to do a different cleanup step if it's deleting a
depoted package: remove all of the +* metadata files and try removing the
depot directory.  The package is considered deleted if the metadata files
are successfully removed, so make pkg_delete(1) return success in that
case.  This allows us to preserve modified config files that live in the
depot directory.  Bump version to 20030730.


To generate a diff of this commit:
cvs rdiff -r1.36.2.5 -r1.36.2.6 src/usr.sbin/pkg_install/delete/perform.c
cvs rdiff -r1.13.4.6 -r1.13.4.7 src/usr.sbin/pkg_install/lib/version.h

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