public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 1/2] pam.eclass: Support EAPI-8, add missing || die
@ 2021-11-30 15:01 Andreas Sturmlechner
  2021-11-30 15:02 ` [gentoo-dev] [PATCH 2/2] pam.eclass: Drop EAPI-5 support Andreas Sturmlechner
  2021-11-30 17:15 ` [gentoo-dev] [PATCH 1/2] pam.eclass: Support EAPI-8, add missing || die Mikhail Koliada
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2021-11-30 15:01 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1007 bytes --]

Closes: https://bugs.gentoo.org/811363

---
 eclass/pam.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eclass/pam.eclass b/eclass/pam.eclass
index 0b3421b5e7c..effd17ad55d 100644
--- a/eclass/pam.eclass
+++ b/eclass/pam.eclass
@@ -6,14 +6,14 @@
 # Mikle Kolyada <zlogene@gentoo.org>
 # @AUTHOR:
 # Diego Pettenò <flameeyes@gentoo.org>
-# @SUPPORTED_EAPIS: 5 6 7
+# @SUPPORTED_EAPIS: 5 6 7 8
 # @BLURB: Handles pam related tasks
 # @DESCRIPTION:
 # This eclass contains functions to install pamd configuration files and
 # pam modules.
 
 case ${EAPI:-0} in
-	[567]) ;;
+	[5678]) ;;
 	*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 esac
 
@@ -209,7 +209,7 @@ pamd_mimic() {
 cleanpamd() {
 	while [[ -n $1 ]]; do
 		if ! has_version sys-libs/pam; then
-			sed -i -e '/pam_shells\|pam_console/s:^:#:' "${D}/etc/
pam.d/$1"
+			sed -i -e '/pam_shells\|pam_console/s:^:#:' "${D}/etc/
pam.d/$1" || die
 		fi
 
 		shift
-- 
2.34.1


[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 618 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-30 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-30 15:01 [gentoo-dev] [PATCH 1/2] pam.eclass: Support EAPI-8, add missing || die Andreas Sturmlechner
2021-11-30 15:02 ` [gentoo-dev] [PATCH 2/2] pam.eclass: Drop EAPI-5 support Andreas Sturmlechner
2021-11-30 17:15 ` [gentoo-dev] [PATCH 1/2] pam.eclass: Support EAPI-8, add missing || die Mikhail Koliada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox