diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2016-10-25 13:13:03 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2016-10-25 13:13:03 +0000 |
commit | 4a67842704ac89ce6cd791e7c95157caa8923401 (patch) | |
tree | 2239ea7ca7ba832a1dcd8fce57cfa79bb9554c7a | |
parent | Adding postrm script to remove empty directories and symlinks on package remo... (diff) | |
download | open-infrastructure-compute-tools-4a67842704ac89ce6cd791e7c95157caa8923401.tar.xz open-infrastructure-compute-tools-4a67842704ac89ce6cd791e7c95157caa8923401.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 85d5530..30af23f 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}" @@ -61,10 +61,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}" ;; |