[meego-packaging] .rpm and /etc
kad at kad.name
Fri Aug 13 08:06:32 PDT 2010
On Fri, Aug 13, 2010 at 17:38, Patrick Ohly <patrick.ohly at intel.com> wrote:
> How do we handle files installed in /etc by a .rpm package? I'm thinking
> of packages which contain such a file instead of creating it via a
> install script.
David and Arjan already replied about practicalities, I just want to
mention that creating files from install scripts usually a bad idea,
as file will not be recorded in RPM database as belonging to your
package. As result, you don't have ways to check
existence/no-existence of that file, ownership/permissions, and in
most cases you will not be able to detect was it modified or not
compared to original state.
br, Alexander Kanevskiy
More information about the MeeGo-packaging