public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] readme.gentoo.eclass: Add a note informing people a file is being installed for future reference
@ 2013-05-14 18:36 Pacho Ramos
  2013-05-14 21:27 ` Ulrich Mueller
  0 siblings, 1 reply; 4+ messages in thread
From: Pacho Ramos @ 2013-05-14 18:36 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

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.



[-- Attachment #2: 1.patch --]
[-- Type: text/x-patch, Size: 593 bytes --]

--- 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
 }
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-18 16:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-14 18:36 [gentoo-dev] readme.gentoo.eclass: Add a note informing people a file is being installed for future reference Pacho Ramos
2013-05-14 21:27 ` Ulrich Mueller
2013-05-14 21:54   ` Pacho Ramos
2013-05-18 16:22     ` Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox