From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/courier/
Date: Fri, 22 Apr 2022 17:43:17 +0000 (UTC) [thread overview]
Message-ID: <1650649385.1d46cd30c3f4982cd2a52e6ddd347ca53fea7875.sam@gentoo> (raw)
commit: 1d46cd30c3f4982cd2a52e6ddd347ca53fea7875
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 22 17:39:38 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 17:43:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d46cd30
mail-mta/courier: fix ROOT check in pkg_postinst
With EAPI 7+, ROOT and others will be blank (not /).
Signed-off-by: Sam James <sam <AT> gentoo.org>
mail-mta/courier/{courier-1.1.5-r2.ebuild => courier-1.1.5-r3.ebuild} | 2 +-
mail-mta/courier/{courier-1.1.8-r1.ebuild => courier-1.1.8-r2.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mail-mta/courier/courier-1.1.5-r2.ebuild b/mail-mta/courier/courier-1.1.5-r3.ebuild
similarity index 99%
rename from mail-mta/courier/courier-1.1.5-r2.ebuild
rename to mail-mta/courier/courier-1.1.5-r3.ebuild
index 3ef7bf19c50c..6011e0efbe2e 100644
--- a/mail-mta/courier/courier-1.1.5-r2.ebuild
+++ b/mail-mta/courier/courier-1.1.5-r3.ebuild
@@ -264,7 +264,7 @@ pkg_config() {
fi
export domainname
- if [ "${ROOT}" = "/" ] ; then
+ if [[ -z "${ROOT}" ]] ; then
file="${ROOT}/etc/courier/locals"
if [ ! -f "${file}" ] ; then
echo "localhost" > "${file}";
diff --git a/mail-mta/courier/courier-1.1.8-r1.ebuild b/mail-mta/courier/courier-1.1.8-r2.ebuild
similarity index 99%
rename from mail-mta/courier/courier-1.1.8-r1.ebuild
rename to mail-mta/courier/courier-1.1.8-r2.ebuild
index 55023ee74943..6862c3007f92 100644
--- a/mail-mta/courier/courier-1.1.8-r1.ebuild
+++ b/mail-mta/courier/courier-1.1.8-r2.ebuild
@@ -265,7 +265,7 @@ pkg_config() {
fi
export domainname
- if [ "${ROOT}" = "/" ] ; then
+ if [[ -z "${ROOT}" ]] ; then
file="${ROOT}/etc/courier/locals"
if [ ! -f "${file}" ] ; then
echo "localhost" > "${file}";
next reply other threads:[~2022-04-22 17:43 UTC|newest]
Thread overview: 87+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-22 17:43 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-07 14:47 [gentoo-commits] repo/gentoo:master commit in: mail-mta/courier/ Hanno Böck
2025-03-26 12:39 Sam James
2025-03-16 17:04 Hanno Böck
2024-11-13 12:42 Sam James
2024-11-11 8:08 Arthur Zamarin
2024-11-11 0:07 Sam James
2024-11-10 20:01 Sam James
2024-11-10 9:58 Sam James
2024-09-27 11:09 Hanno Böck
2024-09-05 9:50 Hanno Böck
2024-09-02 7:29 Arthur Zamarin
2024-08-31 8:52 Arthur Zamarin
2024-08-26 16:44 Sam James
2024-08-26 16:44 Sam James
2024-07-21 19:01 Hanno Böck
2024-07-21 17:31 Sam James
2024-07-21 15:00 Hanno Böck
2024-07-15 7:49 Hanno Böck
2024-06-16 9:00 Hanno Böck
2024-05-24 2:46 Ionen Wolkens
2024-05-24 2:46 Ionen Wolkens
2024-05-13 12:58 Hanno Böck
2024-05-03 8:38 Hanno Böck
2024-05-03 8:36 Hanno Böck
2024-04-28 19:11 Ionen Wolkens
2024-04-12 7:39 Hanno Böck
2024-03-22 18:25 Sam James
2024-03-22 7:12 Sam James
2024-02-18 18:44 Hanno Böck
2024-02-18 16:07 Hanno Böck
2024-01-15 3:32 Ionen Wolkens
2023-12-14 4:15 Sam James
2023-09-21 20:11 Sam James
2023-08-30 6:33 Sam James
2023-08-22 18:10 Hanno Böck
2023-08-22 17:29 Hanno Böck
2023-07-19 9:33 Sam James
2023-07-18 19:24 Sam James
2023-04-12 17:00 Hanno Böck
2023-04-05 18:16 Hanno Böck
2023-02-21 14:14 Hanno Böck
2022-01-17 11:34 Hanno Böck
2022-01-17 11:15 Hanno Böck
2021-08-16 2:24 Sam James
2021-08-07 23:41 Sam James
2021-08-06 20:44 Sam James
2021-08-06 20:44 Sam James
2021-08-06 20:44 Sam James
2021-08-06 13:35 Sam James
2021-08-06 13:35 Sam James
2021-08-02 20:04 Hanno Böck
2021-07-05 13:25 Marek Szuba
2021-05-02 8:54 Mikle Kolyada
2021-03-31 13:25 Hanno Böck
2021-03-06 9:58 Hanno Böck
2020-11-23 16:41 Sergei Trofimovich
2020-11-18 6:55 Agostino Sarubbo
2020-11-17 19:10 Agostino Sarubbo
2020-11-17 19:05 Agostino Sarubbo
2020-11-08 13:09 Sam James
2020-11-06 20:10 Sam James
2020-10-22 12:10 Sam James
2020-09-10 16:37 Hanno Böck
2020-05-06 10:52 Hanno Böck
2019-10-12 21:01 Mikle Kolyada
2019-06-01 10:39 Hanno Boeck
2019-05-06 15:25 Tobias Klausmann
2019-04-27 20:28 David Seifert
2019-03-25 22:18 Sergei Trofimovich
2019-03-13 22:36 Sergei Trofimovich
2019-03-11 11:52 Hanno Boeck
2019-03-10 14:41 Mikle Kolyada
2019-03-10 14:41 Mikle Kolyada
2019-03-02 20:02 Sergei Trofimovich
2019-03-02 16:23 Mikle Kolyada
2019-03-01 1:14 Thomas Deutschmann
2019-02-28 21:25 Sergei Trofimovich
2019-02-28 15:08 Mikle Kolyada
2019-02-23 11:49 Sergei Trofimovich
2019-01-27 15:55 Hanno Boeck
2019-01-07 19:15 Lars Wendler
2019-01-05 17:19 Mikle Kolyada
2019-01-03 9:46 Hanno Boeck
2018-04-09 11:42 Hanno Boeck
2017-01-19 9:27 Hanno Boeck
2015-09-30 11:59 Julian Ospald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1650649385.1d46cd30c3f4982cd2a52e6ddd347ca53fea7875.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox