summaryrefslogtreecommitdiffstats
path: root/debian/mc.prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 20:22:04 +0000
commit91bb3b7bce2297f022a7d48604b1d8e3b9c54a8a (patch)
tree4633b3b9fc6b0a65333f51545214f29a3d0fd1b0 /debian/mc.prerm
parentAdding upstream version 3:4.8.30. (diff)
downloadmc-debian/3%4.8.30-1.tar.xz
mc-debian/3%4.8.30-1.zip
Adding debian version 3:4.8.30-1.debian/3%4.8.30-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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#