diff options
-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}" ;; |