aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-07-12 14:06:22 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-07-12 14:06:22 +0000
commitdfe7544d9a4841385eeaaad9effcb8f1d559afa6 (patch)
tree13ee1be9e834fa650f40b269aea26e56cf3d5e63
parentb3d49e85cb72422aef066c3b453542060143589b (diff)
downloadspec-helper-dfe7544d9a4841385eeaaad9effcb8f1d559afa6.tar
spec-helper-dfe7544d9a4841385eeaaad9effcb8f1d559afa6.tar.gz
spec-helper-dfe7544d9a4841385eeaaad9effcb8f1d559afa6.tar.bz2
spec-helper-dfe7544d9a4841385eeaaad9effcb8f1d559afa6.tar.xz
spec-helper-dfe7544d9a4841385eeaaad9effcb8f1d559afa6.zip
- fixpamd do not touch to symlink (#29699)v0.24
-rwxr-xr-xfixpamd2
1 files changed, 1 insertions, 1 deletions
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