summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2008-10-22 20:09:11 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:43 +0100
commit95b6b96d2c40d7538708d0edb5a0c37cbe1c1b95 (patch)
tree4c20c904b47b1c9a368b52fbe43c278b85b72dd1
parent568f905c51c89cddd774caa3650c3b6fba0a0c00 (diff)
downloadlive-build-95b6b96d2c40d7538708d0edb5a0c37cbe1c1b95.zip
live-build-95b6b96d2c40d7538708d0edb5a0c37cbe1c1b95.tar.gz
Add utility to dump all conffiles to stdout.
-rwxr-xr-xfunctions/conffile.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/functions/conffile.sh b/functions/conffile.sh
index aa12fc5..a45f6b5 100755
--- a/functions/conffile.sh
+++ b/functions/conffile.sh
@@ -43,3 +43,13 @@ Read_conffile ()
fi
done
}
+
+Print_conffiles () {
+ for CONFFILE in Get_conffiles "${@}"
+ do
+ if [ -f "${CONFFILE}" ]
+ then
+ Echo_file "${CONFFILE}"
+ fi
+ done
+}