[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PDBx dictionary in Debian [Was: Re: Bug#974973: ITP: libcifpp -- A library for creating and manipulating mmCIF and PDB files containing macro molecular structure information]



Op 17-11-2020 om 22:49 schreef Aaron M. Ucko:
I've read the specs for /var/ in the Debian Policy. That's why I came
up with /var/cache, it seems to match my requirements exactly.
Sure, but nothing (besides dpkg) is supposed to modify files packages
ship.  (Configuration files under /etc are a special case.)  Best
practice would probably be to ship an empty directory under /var/cache,
ship the stock dictionary in /usr/lib/libcifpp or /usr/share/libcifpp as
appropriate (depending on whether it varies by architecture), and have
your postinst script copy the stock dictionary into the /var/cache
directory as needed.
OK, I'll do that.
Also, please ensure that your cron job requires explicit opt-in.
Good point. But that means adding a /etc/defaults/libcifpp file containing a flag whether the update script is allowed to run and some script to enable dpkg-reconfigure?

regards, -maarten


Reply to: