#!/bin/sh -e # Automatically added by dh_cruft/0.9.81 if [ "$1" = "purge" ] then # we need to glob, so no quotes rm -rf ${DPKG_ROOT:-}/etc/mgetty/voice.conf fi # End automatically added section case "$1" in purge) # remove the configuration files in /etc/mgetty for file in voice.conf; do if [ -f /etc/mgetty/$file.dpkg-old ] ; then rm -f /etc/mgetty/$file.dpkg-old fi if [ -f /etc/mgetty/$file.dpkg-new ] ; then rm -f /etc/mgetty/$file.dpkg-new fi done rmdir /etc/mgetty || true; ;; *) ;; esac