aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2012-05-10 11:41:43 +0000
committerDamien Lallement <dams@mageia.org>2012-05-10 11:41:43 +0000
commit07316545fdda168fbe10eea48528d3203378fcf5 (patch)
tree5154635fb9d784156450ef350f89f3de7113bcf5 /bin
parent373f39ef750ba3485130af0c6df725613246b61b (diff)
downloadcommon-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-xbin/editor6
1 files changed, 3 insertions, 3 deletions
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