mirror of
https://github.com/zyedidia/micro.git
synced 2024-09-19 16:07:20 +03:00
0bbc3e7e3d
* Allows for micro to be selectable in the `editor` group * Use same priority as in the nano package Ref: https://wiki.debian.org/DebianAlternatives
10 lines
249 B
Bash
Executable File
10 lines
249 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
|
|
update-alternatives --install /usr/bin/editor editor /usr/bin/micro 40 \
|
|
--slave /usr/share/man/man1/editor.1 editor.1 \
|
|
/usr/share/man/man1/micro.1
|
|
fi
|