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

Re: Re: installing an end user editable file



On Sun, Feb 13, 2011 at 06:24:06PM +0000, james frize wrote:
> I'm looking at installing the links.txt file to
> ~/.<packagename>/links.txt, but I don't seem to be able to use the
> ~wildcard.
Is this in  rules file? If so you cannot do that at all.  It doesn't
make any sense for a package to install a file in the users home
directory.

Generally there is a /etc/<package>/whatever file for defaults and any
user specific files would be in /usr/share/doc/<package>/examples
The file in examples should really tell people what to do, e.g.:

# This is an example file for whatever, you can copy this to
# ~/.whatever/myfile

There are many problems with getting a package installer to install
files in a user's home directory. Perhaps the first one I can think of
is, "which user's directory?"

 - Craig
-- 
Craig Small VK2XLZ    http://www.enc.com.au/       csmall at : enc.com.au
Debian GNU/Linux      http://www.debian.org/       csmall at : debian.org
GPG fingerprint:       1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5


Reply to: