Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139041 - sys-libs/libchipcard-2.1.6: empty directories are removed on update
Summary: sys-libs/libchipcard-2.1.6: empty directories are removed on update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-03 10:08 UTC by Malte S. Stretz
Modified: 2006-07-21 16:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Malte S. Stretz 2006-07-03 10:08:56 UTC
The libchipcard ebuild creates the (empty) directories
  /usr/lib/chipcard2-server/lowlevel
  /var/lib/chipcard2/newcerts
  /var/log/chipcard2
which are needed by the server.  That's fine, but when you upgraded libchipcard, the unmerging of the old version will delete them again because they are empty.

I guess there's some kind of .keep file needed; for the newcerts directory a 'chipcardd2 init' might provide reasonable defaults, too.
Comment 1 Hanno Böck gentoo-dev 2006-07-21 16:52:59 UTC
keepdir added, certs aren't strictly required, so I think it's up to the user if he needs them.