diff options
Diffstat (limited to 'fix_pamd')
-rwxr-xr-x | fix_pamd | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -1,11 +1,8 @@ #!/bin/sh -if test -z "$DONT_FIX_PAMD_CONFIGS"; then - 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 - echo "done" - 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 + echo "done" fi - |