Bug 449

Summary: dpkg postrm script deleted before it can run
Product: Busybox Reporter: James Juran <james.juran>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: fix

Description James Juran 2009-07-10 14:30:31 UTC
Created attachment 451 [details]
fix

When purging a package (dpkg -P), the postrm script is deleted before it has a chance to run.  The attached patch excludes the postrm script from the initial deletion and then deletes it after the script has run.  This problem was identified and initially patched by my colleague John Ata.
Comment 1 Denys Vlasenko 2009-07-25 09:53:09 UTC
Thanks, committed to git. Please test it.