AJ ONeal wrote:
> I've got a project which some files which are read-only data.
> 
> The files are presets for a device configuration. They get fed into an
> algorithm, but are never edited by a user.
> 
> Where should these files go when the project is packaged?

I agree with others.  /usr/share/appname.  Things like xml UI interfaces
go here for sure.  Things that aren't edited by the user.
> 
> I've ruled out bin, and etc. I'm thinking lib???

I personally use this rule of thumb for /usr/lib and /usr/libexec:

/usr/lib - libraries, sometimes in app-specific folders.  sometimes
plugins too


/usr/libexec - helper scripts that help programs do their work. For
example, if I write a nice, self-contained python program that consists
of several modules, I may consider installing it to
/usr/libexec/something, and then have a wrapper script in /usr/bin that
calls my python program.
             - sometimes plugins

> What's the rule of thumb for something like this?

Check the LSB rules.  And then once you've read them, you have an idea
of what some folks do.  Then toss them as they aren't the only way of
doing things.

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info (unsubscribe here): http://uug.byu.edu/mailman/listinfo/uug-list

Reply via email to