Ticket #553 (closed enhancement: fixed)
keepdir should create .keep-files as .keep_${CATEGORY}_${PN}-${SLOT} (or something else)
| Reported by: | dev-zero | Owned by: | ciaranm |
|---|---|---|---|
| Priority: | Sometime | Milestone: | |
| Component: | core/paludis | Version: | 0.26.0_alpha14 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Distribution: |
Description
A use case for it: dev-db/postgresql-server needs a directory /var/run/postgresql and is slotted. Using /var/run/postgresq-${SLOT} is no solution for various reasons. Doing "keepdir /var/run/postgresql" leads to collisions.
Current workaround:
[ -f "${ROOT}/var/run/postgresql/.keep" ] || keepdir /var/run/postgresql
in src_install
which still may lead to collisions when doing a binary installation (don't care about that atm)
Portage already does this, btw.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

