File: /var/lib/dpkg/info/alsa-utils.postrm
#!/bin/sh
set -e
case "$1" in
purge)
# Remove legacy config and state files
rm -f /etc/alsa/0.9/asound.conf /etc/asound.state
# Remove configuration file generated by alsaconf
rm -f /etc/modprobe.d/sound /etc/modutils/sound \
/etc/modprobe.d/sound.conf
# Remove state file generated by alsactl
rm -f /var/lib/alsa/asound.state
;;
esac
# Automatically added by dh_installinit/12.10ubuntu1
if [ "$1" = "purge" ] ; then
update-rc.d alsa-utils remove >/dev/null
fi
# End automatically added section
# Automatically added by dh_installsystemd/12.10ubuntu1
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section