summaryrefslogtreecommitdiffstats
path: root/debian/open-infrastructure-container-tools.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/open-infrastructure-container-tools.postinst')
-rwxr-xr-xdebian/open-infrastructure-container-tools.postinst4
1 files changed, 4 insertions, 0 deletions
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}"