diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-05-05 09:32:26 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-05-05 09:33:00 +0100 |
commit | 50a75543c991ba5dcdee0791f5e6452f49de643e (patch) | |
tree | a8d11105ddd72ecce6afac1703116eefecdfc2cc /app-misc/mc | |
parent | profiles/package.mask: java last-rites (diff) | |
download | gentoo-50a75543c991ba5dcdee0791f5e6452f49de643e.tar.gz gentoo-50a75543c991ba5dcdee0791f5e6452f49de643e.tar.bz2 gentoo-50a75543c991ba5dcdee0791f5e6452f49de643e.zip |
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 <slyfox@gentoo.org>
Diffstat (limited to 'app-misc/mc')
-rw-r--r-- | app-misc/mc/mc-4.8.26-r2.ebuild | 7 | ||||
-rw-r--r-- | app-misc/mc/mc-9999.ebuild | 6 |
2 files changed, 13 insertions, 0 deletions
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" |