--- a
+++ b/debian/gxine.postrm
@@ -0,0 +1,8 @@
+#! /bin/sh    
+set -e
+
+if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
+  rm -f /var/lib/xine/gxine.desktop /var/lib/xine/gxine.desktop.new
+fi
+
+#DEBHELPER#