summaryrefslogtreecommitdiffstats
path: root/debian/mc.prerm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/mc.prerm11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/mc.prerm b/debian/mc.prerm
new file mode 100644
index 0000000..a97788f
--- /dev/null
+++ b/debian/mc.prerm
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+ remove)
+ update-alternatives --remove editor /usr/bin/mcedit
+ update-alternatives --remove view /usr/bin/mcview
+ ;;
+esac
+
+#DEBHELPER#