On Thu, Jun 04, 2009 at 06:26:40PM +0000, corvid wrote:
Paul wrote:
When opening dillo from the CLI I noticed the following message:
paths: Cannot open file '/home/user/.dillo/dillorc' paths: Cannot open file '/etc/dillo/dillorc' paths: Using internal defaults...
Checked my system and saw that dillorc had been installed in /usr/etc/dillorc
Checking config.log showed sysconfdir='${prefix}/etc', so no surprises there. But Paths::getPrefsFP() in src/paths.cc uses PATHS_RC_SYS, which is "/etc/dillo/", so my patch uses DILLORC_SYS, as specified in src/Makefile.am, instead. Now all is fine!
In addition, perhaps we should make sysconfdir have '/dillo' at the end. If I look in an etc dir and see dillorc, I'd know what it's for, but I wouldn't know what uses keysrc.
Yes, a '/dillo' suffix looks OK. Please merge both ideas and commit. -- Cheers Jorge.-