summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index 263f5a6..20aaccd 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,5 +1,10 @@
#!/bin/sh
set -e
+
+if [ -f /usr/sbin/waagent.save ]; then
+ dpkg-divert --package walinuxagent-data-saver --rename --remove /usr/sbin/waagent
+fi
+
case "$1" in
configure)
waagent --setup --force