Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2167 - emerge deletes an empty dir re-emerging a package with a dodir of the emty dir
Summary: emerge deletes an empty dir re-emerging a package with a dodir of the emty dir
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-27 17:51 UTC by Xavier
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My audiogalaxy ebuild that suffers from directory deletion (audiogalaxy.tar.gz,1.02 KB, application/octet-stream)
2002-04-28 06:37 UTC, Xavier
Details

Note You need to log in before you can comment on or make changes to this bug.
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()