From: William Hubbs Date: Wed, 27 Feb 2019 23:59:21 +0000 (-0600) Subject: www-apps/trickster-bin: Add log message for the config file X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=67863fd24713024d9d604fe3bdf5f2b6e5ea9354;p=gentoo.git www-apps/trickster-bin: Add log message for the config file Add a log message advising the user that they will need to edit ${EROOT}/eetc/trickster/trickster.conf when they first install this package. Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: William Hubbs --- diff --git a/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild b/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild index 4457b9526e2a..44a02e42fe8e 100644 --- a/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild +++ b/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild @@ -34,3 +34,9 @@ systemd_dounit "${FILESDIR}"/trickster.service keepdir /var/log/${MY_PN} fowners ${MY_PN}:${MY_PN} /var/log/${MY_PN} } + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + elog "Please edit ${EROOT}/etc/trickster/trickster.conf for your setup." + fi +}