From a0c32662a070b7fa062c27469a557f76bc9d939e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 5 Jun 2018 01:02:43 -0600 Subject: [PATCH] use nano as fallback editor --- usr/share/install_helper.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index dbb3228..b8515ad 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -66,6 +66,9 @@ fi if [ -z "$my_edit" ]; then my_edit=$(basename "$(type -p vi)") fi +if [ -z "$my_edit" ]; then + my_edit="nano" +fi set -e if [ "root" == $(whoami) ] || [ 0 == $(id -u) ]; then