From dfe7544d9a4841385eeaaad9effcb8f1d559afa6 Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 12 Jul 2007 14:06:22 +0000 Subject: - fixpamd do not touch to symlink (#29699) --- fixpamd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixpamd b/fixpamd index 8f77f7a..d9a332d 100755 --- a/fixpamd +++ b/fixpamd @@ -1,7 +1,7 @@ #!/bin/sh if test -z "$DONT_FIX_PAMD_CONFIGS"; then - configs=`find $RPM_BUILD_ROOT/etc/pam.d/ -type f 2> /dev/null` + configs=`find $RPM_BUILD_ROOT/etc/pam.d/ -type f ! -type l 2> /dev/null` if [ -n "$configs" ]; then echo -n "Fixing pam.d config files..." perl -pi -e "s,/(lib|lib64)/security/,," $configs -- cgit v1.2.1