Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2167

Summary: emerge deletes an empty dir re-emerging a package with a dodir of the emty dir
Product: Gentoo Linux Reporter: Xavier <gentoo>
Component: New packagesAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My audiogalaxy ebuild that suffers from directory deletion

Description Xavier 2002-04-27 17:51:29 UTC
If I put a dodir in a ebuild to create a directory and this directory remains 
empty between two emerges of the same package, the second emerge deletes de 
directory in the unmerging fase after the emerging one.
Comment 1 Xavier 2002-04-28 06:37:45 UTC
Created attachment 702 [details]
My audiogalaxy ebuild that suffers from directory deletion

I attach an ebuild that gets his /opt/audiogalaxy/shares deleted after two
consecutive emerges of the ebuild.
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2002-04-30 00:15:42 UTC
Known issue to be fixed at a future date; for now, create any important empty
dirs in pkg_postinst()