aboutsummaryrefslogtreecommitdiffstats
path: root/fix_pamd
diff options
context:
space:
mode:
Diffstat (limited to 'fix_pamd')
-rwxr-xr-xfix_pamd2
1 files changed, 1 insertions, 1 deletions
diff --git a/fix_pamd b/fix_pamd
index 0f3e360..cacd76c 100755
--- a/fix_pamd
+++ b/fix_pamd
@@ -14,6 +14,6 @@ fi
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
+ perl -pi -e "s,/(usr/)?(lib|lib64)/security/,," $configs
echo "done"
fi