From 18bf90366f65f6cad4029956e9fb9cad2bbcccae Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Thu, 22 Mar 2012 23:21:04 +1300 Subject: [PATCH] Clean up our default file on a purge. --- debian/postrm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/postrm b/debian/postrm index b39408b..6ab8f7b 100644 --- a/debian/postrm +++ b/debian/postrm @@ -25,6 +25,10 @@ case "$1" in then mv /var/run/motd.orig /var/run/motd fi + + if [ "$1" = "purge" ]; then + rm -f /etc/default/mythtv-status + fi ;; esac -- 2.30.2