[PATCH] Allow storing mc configuration in /etc/mc

Pavel Tsekov ptsekov at gmx.net
Wed May 17 20:36:32 UTC 2006


On Wed, 17 May 2006, Jindrich Novy wrote:

> I wrote a patch allowing to store mc configuration to /etc/mc. It's
> tested within Fedora for a few months with no complaints. I moved these
> configuration files from /usr/share/mc to /etc/mc:
>
> extfs/extfs.ini
> extfs/sfs.ini
> syntax/Syntax
> cedit.menu
> edit.indent.rc
> edit.spell.rc
> mc.charsets
> mc.ext
> mc.lib
> mc.menu
>
> and let the rest in the /usr/share/mc location since they are not config
> files. The patch changes the default way how mc looks for config files
> in the way that it first searches /etc/mc and if not found, the fallback
> is to search /usr/share/mc. So it is fully consistent with the former mc
> behavior.

I think the patch is pretty straigth forward. I am not really sure that we 
want to check both mc_home and mc_home_alt though. Anyway, if noone 
objects I'll commit this patch.



More information about the mc-devel mailing list