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

Jindrich Novy jnovy at redhat.com
Wed May 17 12:08:55 UTC 2006


Hi all,

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.

Cheers,
Jindrich

-- 
Jindrich Novy <jnovy at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc-etcmc.patch
Type: text/x-patch
Size: 12328 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20060517/4dc11fc3/attachment.bin>


More information about the mc-devel mailing list