]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Clean up our default file on a purge.
authorAndrew Ruthven <andrew@etc.gen.nz>
Thu, 22 Mar 2012 10:21:04 +0000 (23:21 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Thu, 22 Mar 2012 10:21:04 +0000 (23:21 +1300)
debian/postrm

index b39408bfc045eee102f8b8b3987093ad5287e3f9..6ab8f7b36f831410dc62ad4e2eda1e12f3bb654d 100644 (file)
@@ -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