Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/trickster-bin/
Date: Thu, 28 Feb 2019 00:00:37
Message-Id: 1551312007.67863fd24713024d9d604fe3bdf5f2b6e5ea9354.williamh@gentoo
1 commit: 67863fd24713024d9d604fe3bdf5f2b6e5ea9354
2 Author: William Hubbs <william.hubbs <AT> sony <DOT> com>
3 AuthorDate: Wed Feb 27 23:59:21 2019 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 28 00:00:07 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67863fd2
7
8 www-apps/trickster-bin: Add log message for the config file
9
10 Add a log message advising the user that they will need to edit
11 ${EROOT}/eetc/trickster/trickster.conf when they first install this
12 package.
13
14 Copyright: Sony Interactive Entertainment Inc.
15 Package-Manager: Portage-2.3.51, Repoman-2.3.12
16 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
17
18 www-apps/trickster-bin/trickster-bin-0.1.7.ebuild | 6 ++++++
19 1 file changed, 6 insertions(+)
20
21 diff --git a/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild b/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild
22 index 4457b9526e2..44a02e42fe8 100644
23 --- a/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild
24 +++ b/www-apps/trickster-bin/trickster-bin-0.1.7.ebuild
25 @@ -34,3 +34,9 @@ systemd_dounit "${FILESDIR}"/trickster.service
26 keepdir /var/log/${MY_PN}
27 fowners ${MY_PN}:${MY_PN} /var/log/${MY_PN}
28 }
29 +
30 +pkg_postinst() {
31 + if [[ -z "${REPLACING_VERSIONS}" ]]; then
32 + elog "Please edit ${EROOT}/etc/trickster/trickster.conf for your setup."
33 + fi
34 +}