diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:13 +0000 |
commit | b53c174e5d2eba47d82b05cb5787b183a0aadf84 (patch) | |
tree | d11ab04473fd36be6989c8a494a245fce8a80cbb /debian/mc.postinst | |
parent | Adding upstream version 3:4.8.29. (diff) | |
download | mc-debian.tar.xz mc-debian.zip |
Adding debian version 3:4.8.29-2.debian/3%4.8.29-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/mc.postinst')
-rw-r--r-- | debian/mc.postinst | 13 |
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# |