File: /var/lib/dpkg/info/google-guest-agent.postrm
#!/bin/sh -e
if [ "$1" = "purge" ] ; then
if [ -f /etc/default/instance_configs.cfg ]; then
rm /etc/default/instance_configs.cfg
fi
fi
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_systemd_enable
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask google-guest-agent.service google-shutdown-scripts.service google-startup-scripts.service >/dev/null
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge google-guest-agent.service google-shutdown-scripts.service google-startup-scripts.service >/dev/null
deb-systemd-helper unmask google-guest-agent.service google-shutdown-scripts.service google-startup-scripts.service >/dev/null
fi
fi
# End automatically added section