[airstrike] Strange things when "fixing" (?) things & install target
edi.werner at gmx.de
Tue Feb 4 04:09:31 EST 2003
> As it's a configuration file it _has_ to go to /etc. At least for a
> debian package.
How about keeping it under /usr/local/airstrike and symlink it under
debian to /etc? That way it would be backed up or uninstalled with
the rest of airstrike.
> > (and the one where the info is saved from game
> > would of course be ~/.airstrikerc). So the order of checking
> > for the configuration file would be:
> > - home dir
> > - current dir
> > - installation path for 'share' files
> Hmm, I think the global configuration file has to be read first (think
> of a default configuration installed by root) and _then_ the user's
> config file.
Depends on the config files. If the logic is "read the first you find",
it should be user's config file first, if all of them are read, the
global one should be read first.
> I think current dir is a bad idea. Don't ask me why, it's a feeling ;-)
So do I think. But maybe an command line option could be specified to
use a certain config file, so you can try things out easily.
More information about the airstrike