From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9A44D15808E for ; Fri, 22 Apr 2022 17:43:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC9F4E088B; Fri, 22 Apr 2022 17:43:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 934E3E086D for ; Fri, 22 Apr 2022 17:43:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CC5834171A for ; Fri, 22 Apr 2022 17:43:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3CDE43B2 for ; Fri, 22 Apr 2022 17:43:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1650649385.1d46cd30c3f4982cd2a52e6ddd347ca53fea7875.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: mail-mta/courier/ X-VCS-Repository: repo/gentoo X-VCS-Files: mail-mta/courier/courier-1.1.5-r2.ebuild mail-mta/courier/courier-1.1.5-r3.ebuild mail-mta/courier/courier-1.1.8-r1.ebuild mail-mta/courier/courier-1.1.8-r2.ebuild X-VCS-Directories: mail-mta/courier/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 1d46cd30c3f4982cd2a52e6ddd347ca53fea7875 X-VCS-Branch: master Date: Fri, 22 Apr 2022 17:43:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9947ae30-75b1-43be-ae65-20525171f36a X-Archives-Hash: 5a28c3a5fa510a13b866f22328888257 commit: 1d46cd30c3f4982cd2a52e6ddd347ca53fea7875 Author: Sam James gentoo org> AuthorDate: Fri Apr 22 17:39:38 2022 +0000 Commit: Sam James gentoo 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 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}";