diff options
Diffstat (limited to 'fixpamd')
-rwxr-xr-x | fixpamd | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#!/bin/sh + +if test -z "$DONT_FIX_PAMD_CONFIGS"; then + configs=`ls $RPM_BUILD_ROOT/etc/pam.d/* 2> /dev/null` + if [ -n "$configs" ]; then + echo -n "Fixing pam.d config files..." + perl -pi -e "s,/(lib|lib64)/security/,," $configs + echo "done" + fi +fi + |