From 4a67842704ac89ce6cd791e7c95157caa8923401 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 25 Oct 2016 15:13:03 +0200 Subject: Renaming internal setup function in postinst script for consistency with postrm. Signed-off-by: Daniel Baumann --- debian/open-infrastructure-container-tools.postinst | 10 +++++----- 1 file 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}" ;; -- cgit v1.2.3