aboutsummaryrefslogtreecommitdiffstats
path: root/fixpamd
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2006-07-08 21:21:45 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2006-07-08 21:21:45 +0000
commitd962d97699dd685a1cb1f617b3ae39b4d9e61f35 (patch)
tree34f8152cc7eb22bdfd29fa9d67f8e180afb2659d /fixpamd
parentdcbc73a5f134dac1909a34927d262cf3db4c723c (diff)
downloadspec-helper-d962d97699dd685a1cb1f617b3ae39b4d9e61f35.tar
spec-helper-d962d97699dd685a1cb1f617b3ae39b4d9e61f35.tar.gz
spec-helper-d962d97699dd685a1cb1f617b3ae39b4d9e61f35.tar.bz2
spec-helper-d962d97699dd685a1cb1f617b3ae39b4d9e61f35.tar.xz
spec-helper-d962d97699dd685a1cb1f617b3ae39b4d9e61f35.zip
- do not fix symlink to avoid the script convert it to real file
Diffstat (limited to 'fixpamd')
-rwxr-xr-xfixpamd2
1 files changed, 1 insertions, 1 deletions
diff --git a/fixpamd b/fixpamd
index 3bc042a..8f77f7a 100755
--- a/fixpamd
+++ b/fixpamd
@@ -1,7 +1,7 @@
#!/bin/sh
if test -z "$DONT_FIX_PAMD_CONFIGS"; then
- configs=`ls $RPM_BUILD_ROOT/etc/pam.d/* 2> /dev/null`
+ configs=`find $RPM_BUILD_ROOT/etc/pam.d/ -type f 2> /dev/null`
if [ -n "$configs" ]; then
echo -n "Fixing pam.d config files..."
perl -pi -e "s,/(lib|lib64)/security/,," $configs