2013/3/10 Andrey Rahmatullin <[email protected]>:
> On Sun, Mar 10, 2013 at 04:24:52PM +0400, Игорь Пашев wrote:
>> I'm creating packages with programs which use some directories for
>> persistent data.
>> E. g. dladm will use /etc/dladm to save data in.
> The proper path is /var/lib/dladm.

Sorry, I was not accurate. It is system vital data needed for early boot:
http://illumos.org/man/1M/dladm

>> What is the best way to ship such a diretory:
>> in package (d/foo.dirs) or create in postinst script?
> Why postinst?

Because on removal there will be a message "cannot remove directory",
if there are file in that directory.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/call-q8wj+s7c5pq+xx4ctl5dccztujbye-ffnzhn+ntqz1f...@mail.gmail.com

Reply via email to