From 50a75543c991ba5dcdee0791f5e6452f49de643e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 5 May 2021 09:32:26 +0100 Subject: app-misc/mc: add an elog entry on aspell configuration Fix-by: aporilel@yandex.ru Closes: https://bugs.gentoo.org/788151 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich --- app-misc/mc/mc-4.8.26-r2.ebuild | 7 +++++++ app-misc/mc/mc-9999.ebuild | 6 ++++++ 2 files changed, 13 insertions(+) (limited to 'app-misc/mc') diff --git a/app-misc/mc/mc-4.8.26-r2.ebuild b/app-misc/mc/mc-4.8.26-r2.ebuild index 5c6783cbf2cc..47e5f652e710 100644 --- a/app-misc/mc/mc-4.8.26-r2.ebuild +++ b/app-misc/mc/mc-4.8.26-r2.ebuild @@ -112,6 +112,13 @@ src_install() { } pkg_postinst() { + if use spell && ! has_version app-dicts/aspell-en ; then + elog "'spell' USE flag is enabled however app-dicts/aspell-en is not installed." + elog "You should manually set 'spell_language' in the Misc section of ~/.config/mc/ini" + elog "It has to be set to one of your installed aspell dictionaries or 'NONE'" + elog + fi + elog "To enable exiting to latest working directory," elog "put this into your ~/.bashrc:" elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" diff --git a/app-misc/mc/mc-9999.ebuild b/app-misc/mc/mc-9999.ebuild index 936a91cde7d5..ad94e390553a 100644 --- a/app-misc/mc/mc-9999.ebuild +++ b/app-misc/mc/mc-9999.ebuild @@ -110,6 +110,12 @@ src_install() { } pkg_postinst() { + if use spell && ! has_version app-dicts/aspell-en ; then + elog "'spell' USE flag is enabled however app-dicts/aspell-en is not installed." + elog "You should manually set 'spell_language' in the Misc section of ~/.config/mc/ini" + elog "It has to be set to one of your installed aspell dictionaries or 'NONE'" + elog + fi elog "To enable exiting to latest working directory," elog "put this into your ~/.bashrc:" elog ". ${EPREFIX}/usr/libexec/mc/mc.sh" -- cgit v1.2.3-65-gdbad