diff options
author | Colin Guthrie <colin@mageia.org> | 2012-07-23 20:03:09 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-07-23 20:03:09 +0000 |
commit | b868ea8a4157e56f82dbe69512c446c68fa31c3d (patch) | |
tree | 040f02d89a74c0c4696e740f0fdc35f6d00d4c17 /fix_pamd | |
parent | 9511b55f08fd70e41716ecc2f00ee9b6f1921052 (diff) | |
download | spec-helper-b868ea8a4157e56f82dbe69512c446c68fa31c3d.tar spec-helper-b868ea8a4157e56f82dbe69512c446c68fa31c3d.tar.gz spec-helper-b868ea8a4157e56f82dbe69512c446c68fa31c3d.tar.bz2 spec-helper-b868ea8a4157e56f82dbe69512c446c68fa31c3d.tar.xz spec-helper-b868ea8a4157e56f82dbe69512c446c68fa31c3d.zip |
Deal with /lib/security -> /usr/lib/security migration.
Diffstat (limited to 'fix_pamd')
-rwxr-xr-x | fix_pamd | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |