summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2017-07-01 09:51:45 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2017-07-23 08:32:55 +0000
commit4cf8a491406e82e2cd884347c69d78b5d41cf152 (patch)
tree3f4308df9491f42aeb0345c0b90bd274031b5f95
parentAdding news entries for backwards incompatible changes of upstream version 20... (diff)
downloadopen-infrastructure-compute-tools-4cf8a491406e82e2cd884347c69d78b5d41cf152.tar.xz
open-infrastructure-compute-tools-4cf8a491406e82e2cd884347c69d78b5d41cf152.zip
Removing /etc/default/container-tools when purging package (Closes: #866726).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/open-infrastructure-container-tools.postrm6
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/open-infrastructure-container-tools.postrm b/debian/open-infrastructure-container-tools.postrm
index 291cb66..71c969f 100755
--- a/debian/open-infrastructure-container-tools.postrm
+++ b/debian/open-infrastructure-container-tools.postrm
@@ -28,7 +28,7 @@ Remove ()
}
case "${1}" in
- remove|purge)
+ remove)
Remove /var/cache/container-tools
Remove /etc/container-tools/debconf
Remove /etc/container-tools/config
@@ -36,6 +36,10 @@ case "${1}" in
Remove /var/lib/machines
;;
+ purge)
+ rm -f /etc/default/container-tools
+ ;;
+
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;