From 7c291669bab5cf44b615a7073eb0752be7a44612 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Sun, 10 Feb 2008 14:24:43 +0000 Subject: name harmonization --- fix_pamd | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 fix_pamd (limited to 'fix_pamd') diff --git a/fix_pamd b/fix_pamd new file mode 100755 index 0000000..d9a332d --- /dev/null +++ b/fix_pamd @@ -0,0 +1,11 @@ +#!/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 +fi + -- cgit v1.2.1