As discussed at:
https://bugs.gentoo.org/show_bug.cgi?id=457598#c4

we need a way to inform users the ebuild is installing a README.gentoo
file with needed information for configuration tips and so. Attached
patch does it.


--- readme.gentoo.eclass~	2013-03-05 23:31:15.000000000 +0100
+++ readme.gentoo.eclass	2013-05-14 20:31:11.000000000 +0200
@@ -97,6 +97,9 @@
 		die "readme.gentoo_print_elog invoked without matching readme.gentoo_create_doc call!"
 	elif ! [[ -n "${REPLACING_VERSIONS}" ]] || [[ -n "${FORCE_PRINT_ELOG}" ]]; then
 		echo -e "${README_GENTOO_DOC_VALUE}" | while read -r ELINE; do elog "${ELINE}"; done
+		elog "(Note: Above message will only be printed the first time package"
+		elog "is installed. Please look at /usr/share/doc/${PF}/README.gentoo*"
+		elog "for future reference)"
 	fi
 }
 

Reply via email to