postinst, postrm, prerm scripts
[nowplayingd] / debian / postrm
diff --git a/debian/postrm b/debian/postrm
new file mode 100644 (file)
index 0000000..6dcda15
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh -e
+
+if [ -f /etc/X11/Xsession.d/99nowplayingd ]; then
+       rm -f /etc/X11/Xsession.d/99nowplayingd || true
+fi