diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2016-12-30 19:12:08 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2017-01-04 10:42:47 +0000 |
commit | 4fc5dd96f48560f20a8b583adf14197389af46e6 (patch) | |
tree | e2ecbc7346f28d684c95813de5e8d1291f22c095 /debian/open-infrastructure-container-tools.postinst | |
parent | Updating year in copyright information for 2017. (diff) | |
download | open-infrastructure-compute-tools-4fc5dd96f48560f20a8b583adf14197389af46e6.tar.xz open-infrastructure-compute-tools-4fc5dd96f48560f20a8b583adf14197389af46e6.zip |
Adding debconf handling for hooks directory.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'debian/open-infrastructure-container-tools.postinst')
-rwxr-xr-x | debian/open-infrastructure-container-tools.postinst | 4 |
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}" |