mirror of
https://github.com/clearlinux/WALinuxAgent.git
synced 2026-09-04 12:51:35 +00:00
25 lines
501 B
Bash
25 lines
501 B
Bash
#!/bin/sh
|
|
set -e
|
|
case "$1" in
|
|
purge)
|
|
rm /etc/waagent.conf > /dev/null || true
|
|
rm -rf /var/lib/waagent > /dev/null || true
|
|
rm /etc/ssh/*waagent > /dev/null || true
|
|
;;
|
|
|
|
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
|
;;
|
|
|
|
*)
|
|
echo "postrm called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
# dh_installdeb will replace this with shell code automatically
|
|
# generated by other debhelper scripts.
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|