commit:     67863fd24713024d9d604fe3bdf5f2b6e5ea9354
Author:     William Hubbs <william.hubbs <AT> sony <DOT> com>
AuthorDate: Wed Feb 27 23:59:21 2019 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Feb 28 00:00:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67863fd2

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 <williamh <AT> gentoo.org>

 www-apps/trickster-bin/trickster-bin-0.1.7.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

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 4457b9526e2..44a02e42fe8 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
+}

Reply via email to