mirror of
https://github.com/Hopiu/micro.git
synced 2026-04-05 15:30:59 +00:00
10 lines
249 B
Text
10 lines
249 B
Text
|
|
#!/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
|