mirror of
https://github.com/MariaDB/server.git
synced 2025-07-02 14:22:51 +03:00
Added support for sensible-editor from Debian, instead of emacs.
This commit is contained in:
@ -132,7 +132,13 @@ if test -z "$VISUAL"
|
||||
then
|
||||
if test -z "$EDITOR"
|
||||
then
|
||||
EDIT=emacs
|
||||
# Honor debian sensible-editor
|
||||
if test -x "/usr/bin/sensible-editor"
|
||||
then
|
||||
EDIT=/usr/bin/sensible-editor
|
||||
else
|
||||
EDIT=emacs
|
||||
fi
|
||||
else
|
||||
EDIT="$EDITOR"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user