commit 23fa49333acbd78ce8d4861c0734e45bd43d0437
Author: Jan Rękorajski <[email protected]>
Date: Sat Dec 23 09:37:29 2023 +0100
- fix sed command grouping
pam.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pam.spec b/pam.spec
index a333ab9..2af3026 100644
--- a/pam.spec
+++ b/pam.spec
@@ -419,7 +419,7 @@ if grep -qs pam_tally /etc/pam.d/system-auth; then
%{__sed} -i -e '/pam_tally/d' /etc/pam.d/system-auth
fi
if grep -qs pam_cracklib /etc/pam.d/system-auth; then
- %{__sed} -i -e '/pam_cracklib/ s/pam_cracklib/pam_pwquality/; s/$/
use_authtok/' /etc/pam.d/system-auth
+ %{__sed} -i -e '/pam_cracklib/ { s/pam_cracklib/pam_pwquality/; s/$/
use_authtok/ }' /etc/pam.d/system-auth
fi
# removed in 1.1.4
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pam.git/commitdiff/23fa49333acbd78ce8d4861c0734e45bd43d0437
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit