aboutsummaryrefslogtreecommitdiff
path: root/subsonic-installer-debian/src/DEBIAN/postrm
diff options
context:
space:
mode:
Diffstat (limited to 'subsonic-installer-debian/src/DEBIAN/postrm')
-rw-r--r--subsonic-installer-debian/src/DEBIAN/postrm9
1 files changed, 9 insertions, 0 deletions
diff --git a/subsonic-installer-debian/src/DEBIAN/postrm b/subsonic-installer-debian/src/DEBIAN/postrm
new file mode 100644
index 00000000..1ecc392d
--- /dev/null
+++ b/subsonic-installer-debian/src/DEBIAN/postrm
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+set -e
+
+# Remove symlink.
+rm -f /usr/bin/subsonic
+
+# Remove startup scripts.
+update-rc.d -f subsonic remove