From 07316545fdda168fbe10eea48528d3203378fcf5 Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Thu, 10 May 2012 11:41:43 +0000 Subject: replace 'xte' inside script --- bin/editor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/editor') diff --git a/bin/editor b/bin/editor index 63a5f5c..2d64dea 100755 --- a/bin/editor +++ b/bin/editor @@ -2,7 +2,7 @@ #--------------------------------------------------------------- # Project : Mageia # Module : bin -# File : xte +# File : editor # Author : David Walser # Created On : Thu Apr 3 16:26:54 2012 # Purpose : launch a text editor @@ -10,7 +10,7 @@ strip_texteditor_var() { if [[ -n "$TEXTEDITOR" ]]; then - if [[ `basename "$TEXTEDITOR"` == "xte" ]]; then + if [[ `basename "$TEXTEDITOR"` == "editor" ]]; then unset TEXTEDITOR elif ! which $TEXTEDITOR > /dev/null 2>&1; then unset TEXTEDITOR @@ -58,4 +58,4 @@ else echo "no text editor detected" fi -# xte ends here +# editor ends here -- cgit v1.2.1