diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2006-05-20 13:14:39 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2006-05-20 13:14:39 +0000 |
commit | 005415fa3c343e6aef056e830e195d87ce8b73e1 (patch) | |
tree | 86afe253a616b01b6276efd5da7c4f5e57e8875f /fixpamd | |
parent | 657c75055954c53ac17ca66167832a0b4ecf5f8c (diff) | |
download | spec-helper-005415fa3c343e6aef056e830e195d87ce8b73e1.tar spec-helper-005415fa3c343e6aef056e830e195d87ce8b73e1.tar.gz spec-helper-005415fa3c343e6aef056e830e195d87ce8b73e1.tar.bz2 spec-helper-005415fa3c343e6aef056e830e195d87ce8b73e1.tar.xz spec-helper-005415fa3c343e6aef056e830e195d87ce8b73e1.zip |
- split main script, make all script independants
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 + |