commit: a06b9ad51fbe54cb4261df74bfb345d21bb3583e
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 15 19:41:20 2021 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Aug 15 19:43:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06b9ad5
app-portage/iwdevtools: add a postinst elog about bashrc
Planning to write better docs for this, but this
needs more direct attention either way.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
app-portage/iwdevtools/iwdevtools-9999.ebuild | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/app-portage/iwdevtools/iwdevtools-9999.ebuild
b/app-portage/iwdevtools/iwdevtools-9999.ebuild
index 773d09d876b..880f2b284b0 100644
--- a/app-portage/iwdevtools/iwdevtools-9999.ebuild
+++ b/app-portage/iwdevtools/iwdevtools-9999.ebuild
@@ -22,3 +22,14 @@ RDEPEND="
src_configure() {
meson_src_configure -Ddocdir=${PF}
}
+
+pkg_postinst() {
+ if [[ ! ${REPLACING_VERSIONS} ]]; then
+ elog "To integrate with portage, inspect the .bashrc files
installed"
+ elog "at ${EROOT}/usr/share/${PN}. If not already using a
bashrc, you"
+ elog "can use the example bashrc directly by creating a
symlink:"
+ elog
+ elog " ln -s ../../../usr/share/${PN}/bashrc
${EROOT}/etc/portage/bashrc"
+ elog
+ fi
+}