aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2012-07-23 20:03:09 +0000
committerColin Guthrie <colin@mageia.org>2012-07-23 20:03:09 +0000
commitb868ea8a4157e56f82dbe69512c446c68fa31c3d (patch)
tree040f02d89a74c0c4696e740f0fdc35f6d00d4c17
parent9511b55f08fd70e41716ecc2f00ee9b6f1921052 (diff)
downloadspec-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.
-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