This one time, at band camp, Aurélien Labrosse said: > Hi, > > We are trying to package the dspam[1] application. Dspam contains a cgi > interface, which comes with html templates. For now they are installed > into "/usr/share/dspam/templates". We have a problem because some people > will need to change these templates to fit their graphical needs. > So what can we do with these templates? > * install them as conffiles into /usr/share (lintian warning) > * install them as conffiles into /etc/ (no so clean, IHMO) > * install them into /usr/share/, and document the fact that > a template update will be lost if nothing is done like holding > the package, create another directory.. etc (the template directory could > be changed into the cgi configuration). > * other ?? > What do you think about? It depends on how extensible the templating is, I would think. If dspam can look in subdirectories of the template directory, just put a symlink to /etc/dspam/templates, so that local admins can override the defaults. If it can't look in subdirectories, then you are forced to put the whole templates directory somewhere in /etc, I'm afraid. Shipping config files in /usr/share is a policy violation for a reason. -- ----------------------------------------------------------------- | ,''`. Stephen Gran | | : :' : sgran@debian.org | | `. `' Debian user, admin, and developer | | `- http://www.debian.org | -----------------------------------------------------------------
Attachment:
signature.asc
Description: Digital signature