www-apps/trickster-bin: Add log message for the config file
authorWilliam Hubbs <william.hubbs@sony.com>
Wed, 27 Feb 2019 23:59:21 +0000 (17:59 -0600)
committerWilliam Hubbs <williamh@gentoo.org>
Thu, 28 Feb 2019 00:00:07 +0000 (18:00 -0600)
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@gentoo.org>
www-apps/trickster-bin/trickster-bin-0.1.7.ebuild

index 4457b9526e2a0f5968fc04a5bb663fa1da884202..44a02e42fe8e3bd786bbd94aac76cbe296efc17b 100644 (file)
@@ -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
+}