summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf.d/0003-debconf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xshare/scripts/debconf.d/0003-debconf19
1 files changed, 19 insertions, 0 deletions
diff --git a/share/scripts/debconf.d/0003-debconf b/share/scripts/debconf.d/0003-debconf
index cb9ae2a..f58f57b 100755
--- a/share/scripts/debconf.d/0003-debconf
+++ b/share/scripts/debconf.d/0003-debconf
@@ -1068,6 +1068,25 @@ Internal_options ()
fi
echo "CNT_OVERLAY=\"${CNT_OVERLAY}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
+
+ NUMBER="1"
+
+ while db_get cnt-debconf/files${NUMBER}/copy && [ "${RET}" ]
+ do
+ eval FILES${NUMBER}_COPY="\"${RET}\"" # string (w/o empty)
+
+ NUMBER="$((${NUMBER} + 1))"
+ done
+
+ FILES_NUMBER="$((${NUMBER} - 1))"
+
+ echo "FILES_NUMBER=\"${FILES_NUMBER}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
+
+ for NUMBER in $(seq 1 ${FILES_NUMBER})
+ do
+ eval FILES_COPY="$`echo FILES${NUMBER}_COPY`"
+ echo "FILES${NUMBER}_COPY=\"${FILES_COPY}\"" >> "${DEBCONF_TMPDIR}/debconf.default"
+ done
}
Mode