summaryrefslogtreecommitdiffstats
path: root/debian/mc.postinst
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.postinst
parentAdding upstream version 3:4.8.30. (diff)
downloadmc-91bb3b7bce2297f022a7d48604b1d8e3b9c54a8a.tar.xz
mc-91bb3b7bce2297f022a7d48604b1d8e3b9c54a8a.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 'debian/mc.postinst')
-rw-r--r--debian/mc.postinst13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/mc.postinst b/debian/mc.postinst
new file mode 100644
index 0000000..b847313
--- /dev/null
+++ b/debian/mc.postinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+ configure|abort-upgrade)
+ update-alternatives --install /usr/bin/view view /usr/bin/mcview 25 \
+ --slave /usr/share/man/man1/view.1.gz view.1.gz /usr/share/man/man1/mcview.1.gz
+ update-alternatives --install /usr/bin/editor editor /usr/bin/mcedit 25 \
+ --slave /usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/mcedit.1.gz
+ ;;
+esac
+
+#DEBHELPER#