From 4fc5dd96f48560f20a8b583adf14197389af46e6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 30 Dec 2016 20:12:08 +0100 Subject: Adding debconf handling for hooks directory. Signed-off-by: Daniel Baumann --- debian/open-infrastructure-container-tools.postinst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debian/open-infrastructure-container-tools.postinst') diff --git a/debian/open-infrastructure-container-tools.postinst b/debian/open-infrastructure-container-tools.postinst index 4273247..f83879c 100755 --- a/debian/open-infrastructure-container-tools.postinst +++ b/debian/open-infrastructure-container-tools.postinst @@ -56,6 +56,9 @@ case "${1}" in db_get open-infrastructure-container-tools/debconf DEBCONF="${RET:-/etc/container-tools/debconf}" # string (w/o empty) + db_get open-infrastructure-container-tools/hooks + HOOKS="${RET:-/etc/container-tools/hooks}" # string (w/o empty) + db_get open-infrastructure-container-tools/cache CACHE="${RET:-/var/cache/container-tools}" # string (w/o empty) @@ -70,6 +73,7 @@ case "${1}" in Install "/var/lib/machines" "${MACHINES}" Install "/etc/container-tools/config" "${CONFIG}" Install "/etc/container-tools/debconf" "${DEBCONF}" + Install "/etc/container-tools/hooks" "${HOOKS}" Install "/var/cache/container-tools" "${CACHE}" update-alternatives --quiet --set container-tools_script "/usr/share/container-tools/scripts/${SCRIPT}" -- cgit v1.2.3