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

Re: how to handle configuration that modifies files in /usr



also sprach Stephen Gran <steve@lobefin.net> [2003.01.17.0500 +0100]:
> Can't you install mnav.cgi.in.dist to /usr/share/doc/mharc/examples/ and
> use it as a template for postinst configuration?  I'm not familiar with
> the software, but this is how many other postinst-generated config files
> are handled.  Then, since dpkg doesn't know about this file, you remove
> it on purge.  Not the cleanest way to handle it - it would be better to
> seperate out the configuration into a proper config file in /etc, but I
> have no idea if that's feasible with this program.

That's what I am doing now. I have put the files into
doc/mharc/examples/ and symlinked them into the /var/lib/mharc tree.
Since I get to specify the apache configuration, I can make sure to
disable FollowSymlinks.

-- 
Please do not CC me! Mutt (www.mutt.org) can handle this automatically.
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
NOTE: The pgp.net keyservers and their mirrors are broken!
Get my key here: http://people.debian.org/~madduck/gpg/330c4a75.asc

Attachment: pgpxJPK2uVolV.pgp
Description: PGP signature


Reply to: