mirror of
https://github.com/Hopiu/micro.git
synced 2026-03-17 06:20:28 +00:00
* Allows for micro to be selectable in the `editor` group * Use same priority as in the nano package Ref: https://wiki.debian.org/DebianAlternatives
7 lines
108 B
Bash
Executable file
7 lines
108 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" != "upgrade" ]; then
|
|
update-alternatives --remove editor /usr/bin/micro
|
|
fi
|