diff options
author | Damien Lallement <dams@mageia.org> | 2012-05-10 11:41:43 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2012-05-10 11:41:43 +0000 |
commit | 07316545fdda168fbe10eea48528d3203378fcf5 (patch) | |
tree | 5154635fb9d784156450ef350f89f3de7113bcf5 /bin | |
parent | 373f39ef750ba3485130af0c6df725613246b61b (diff) | |
download | common-data-07316545fdda168fbe10eea48528d3203378fcf5.tar common-data-07316545fdda168fbe10eea48528d3203378fcf5.tar.gz common-data-07316545fdda168fbe10eea48528d3203378fcf5.tar.bz2 common-data-07316545fdda168fbe10eea48528d3203378fcf5.tar.xz common-data-07316545fdda168fbe10eea48528d3203378fcf5.zip |
replace 'xte' inside script
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/editor | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |