Bug 24971

Summary: pkg_delete -n should call delete_package()
Product: Base System Reporter: quinot <quinot>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description quinot 2001-02-09 17:20:07 UTC
	When called with the "-n" command line argument, pkg_delete
	is supposed to inform the user of all steps it would take.

	The current code does not issue any messages regarding actions
	that would be performed by delete_package (removing files and
	executing @unexec commands), because when the Fake variable
	is 1, delete_package (which itself respects Fake and prints messages
	rather than taking action when it is 1) is not called at all.

How-To-Repeat: 	pkg_delete -n <pkg>
	where pkg is a package that has a @unexec command. That command is
	not displayed.
Comment 1 Ollivier Robert freebsd_committer freebsd_triage 2001-03-04 17:38:51 UTC
State Changed
From-To: open->closed

Patch applied, thanks!