Refactor utility to locate conffiles.

This commit is contained in:
Chris Lamb 2008-10-22 20:08:42 +01:00 committed by Daniel Baumann
parent 4dc5ffe7f3
commit f1d230a6b5
1 changed files with 7 additions and 2 deletions

View File

@ -9,7 +9,7 @@
set -e
Read_conffile ()
Get_conffiles ()
{
if [ -n "${LH_CONFIG}" ]
then
@ -24,7 +24,12 @@ Read_conffile ()
done
fi
for CONFFILE in ${FILES}
echo ${FILES}
}
Read_conffile ()
{
for CONFFILE in Get_conffiles "${@}"
do
if [ -f "${CONFFILE}" ]
then