summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-07-25 10:25:50 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-07-25 11:11:15 +0000
commit80e18cc579e76b565e98855420032c5305d7b42b (patch)
tree73d70893177f9bc9881604385d8d965bbaf6fb97
parentAdding postrm script to remove empty directories and symlinks on package remo... (diff)
downloadopen-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.postinst10
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}"
;;