☰
Debian Codegraph
@
2.0.15-3
2.0.15-2
/
/
assets
/
packaging
/
deb
/
micro.postinst
☽
☼
assets/packaging/deb/micro.postinst
code
plain
raw
MIT
2016-2017, Zachary Yedidia, et al.
debian/copyright
1
#!/bin/sh
2
3
set -e
4
5
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
6
update-alternatives --install /usr/bin/editor editor /usr/bin/micro 40 \
7
--slave /usr/share/man/man1/editor.1 editor.1 \
8
/usr/share/man/man1/micro.1
9
fi