diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2016-07-25 10:25:50 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2016-07-25 11:11:15 +0000 |
commit | 80e18cc579e76b565e98855420032c5305d7b42b (patch) | |
tree | 73d70893177f9bc9881604385d8d965bbaf6fb97 | |
parent | Adding postrm script to remove empty directories and symlinks on package remo... (diff) | |
download | open-infrastructure-compute-tools-80e18cc579e76b565e98855420032c5305d7b42b.tar.xz open-infrastructure-compute-tools-80e18cc579e76b565e98855420032c5305d7b42b.zip |
Renaming internal setup function in postinst script for consistency with postrm.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
-rw-r--r-- | debian/open-infrastructure-container-tools.postinst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/open-infrastructure-container-tools.postinst b/debian/open-infrastructure-container-tools.postinst index 97037fd..0fe1116 100644 --- a/debian/open-infrastructure-container-tools.postinst +++ b/debian/open-infrastructure-container-tools.postinst @@ -2,7 +2,7 @@ set -e -Setup () +Install () { DEFAULT="${1}" TARGET="${2}" @@ -51,10 +51,10 @@ case "${1}" in db_stop - Setup "/var/lib/machines" "${MACHINES}" - Setup "/etc/container-tools/config" "${CONFIG}" - Setup "/etc/container-tools/debconf" "${DEBCONF}" - Setup "/var/cache/container-tools" "${CACHE}" + Install "/var/lib/machines" "${MACHINES}" + Install "/etc/container-tools/config" "${CONFIG}" + Install "/etc/container-tools/debconf" "${DEBCONF}" + Install "/var/cache/container-tools" "${CACHE}" update-alternatives --quiet --set container-tools_script "/usr/share/container-tools/scripts/${SCRIPT}" ;; |