From 28cb58c98305c94b0816fc89805c73f528e63bc0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 26 May 2016 10:56:09 +0200 Subject: Adding bind option to bind mount directories in debconf script. Signed-off-by: Daniel Baumann --- share/scripts/debconf.d/0003-debconf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'share/scripts/debconf.d/0003-debconf') diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf index df14ef0..a1cab20 100755 --- a/share/scripts/debconf.d/0003-debconf +++ b/share/scripts/debconf.d/0003-debconf @@ -1041,6 +1041,13 @@ Internal_options () fi echo "HOST_COMMAND=\"${HOST_COMMAND}\"" >> "${DEBCONF_TMPDIR}/debconf.default" + + if db_get cnt-debconf/bind + then + BIND="${RET}" # string (w/ empty) + fi + + echo "BIND=\"${BIND}\"" >> "${DEBCONF_TMPDIR}/debconf.default" } Distribution -- cgit v1.2.3