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

Location of Modifiable Scripts



I am packaging Misterhouse (http://www.misterhouse.net), a home automation
program written entirely in perl.  The author and several debian users of
the program are uncertain where certain files should reside on a debian
system.  The user of the program writes files of perl code, and then the
engine reads those files and performs those actions.  The distribution of
misterhouse includes several example scripts.  These example scripts should
get overwritten with subsequent releases, but the user defined scripts
should not.

Where should the user defined scripts reside?  Misterhouse is not a
multi-user program, so it really doesn't make sense to put them in a home
directory.  Should they go in /etc/misterhouse since they can certainly be
thought of as "config files" even though they happen to be perl code?

Where should the example scripts go?  Many of the examples can be used by
the program without modification.  Should they go in /usr/share/misterhouse?

There is some feeling from the author to keep the same file locations as the
existing rpm of the distribution, which places ALL files in
/usr/local/misterhouse, which I understand is not allowed for a debian
package.

Any suggestions?

	Dave Mabe



Reply to: