mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #3609: install mc.keymap as a symlink to mc.default.keymap
Save space and fix rpmlint warning found by OBS Framework (build.opensuse.org). mc.x86_64: W: files-duplicate /etc/mc/mc.keymap /etc/mc/mc.default.keymap Signed-off-by: Andreas Mohr <and@gmx.li> Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
parent
a56511ce1a
commit
284003e838
@ -22,7 +22,6 @@ SCRIPTS_OUT = \
|
||||
|
||||
LIBFILES_CONST = \
|
||||
filehighlight.ini \
|
||||
mc.keymap \
|
||||
mc.default.keymap \
|
||||
mc.emacs.keymap
|
||||
|
||||
@ -52,3 +51,9 @@ EXTRA_DIST = \
|
||||
if !CHARSET
|
||||
EXTRA_DIST += mc.charsets
|
||||
endif
|
||||
|
||||
install-data-hook:
|
||||
cd $(DESTDIR)$(cfgdir) && rm -f mc.keymap && $(LN_S) mc.default.keymap mc.keymap
|
||||
|
||||
uninstall-hook:
|
||||
cd $(DESTDIR)$(cfgdir) && rm -f mc.keymap
|
||||
|
Loading…
Reference in New Issue
Block a user