[SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a)

Jaka Kranjc scm at mail.sourcemage.org
Fri Feb 2 11:12:42 EST 2007


GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx at sourcemage.org>:

 editors/diakonos/DETAILS               |    1 +
 editors/diakonos/HISTORY               |    5 +++++
 editors/diakonos/INSTALL               |    8 +++++++-
 editors/diakonos/profile.d/editor.sh   |   10 ++++++++++
 editors/e3/DETAILS                     |    1 +
 editors/e3/HISTORY                     |    5 +++++
 editors/e3/INSTALL                     |    8 +++++++-
 editors/e3/profile.d/editor.sh         |   10 ++++++++++
 editors/elvis/DETAILS                  |    1 +
 editors/elvis/HISTORY                  |    5 +++++
 editors/elvis/INSTALL                  |    6 ++++++
 editors/elvis/profile.d/editor.sh      |   10 ++++++++++
 editors/emacs/DETAILS                  |    1 +
 editors/emacs/HISTORY                  |    5 +++++
 editors/emacs/INSTALL                  |    7 +++++++
 editors/emacs/profile.d/editor.sh      |   10 ++++++++++
 editors/joe/DETAILS                    |    1 +
 editors/joe/HISTORY                    |    5 +++++
 editors/joe/INSTALL                    |    7 +++++++
 editors/joe/profile.d/editor.sh        |   10 ++++++++++
 editors/moe/DETAILS                    |    1 +
 editors/moe/HISTORY                    |    5 +++++
 editors/moe/INSTALL                    |    7 +++++++
 editors/moe/profile.d/editor.sh        |   10 ++++++++++
 editors/nano/DETAILS                   |    1 +
 editors/nano/HISTORY                   |    5 +++++
 editors/nano/INSTALL                   |    6 ++++++
 editors/nano/profile.d/editor.sh       |   10 ++++++++++
 editors/vim/DETAILS                    |    1 +
 editors/vim/HISTORY                    |    5 +++++
 editors/vim/INSTALL                    |    6 ++++++
 editors/vim/profile.d/editor.sh        |   10 ++++++++++
 editors/zile/DETAILS                   |    1 +
 editors/zile/HISTORY                   |    5 +++++
 editors/zile/INSTALL                   |    7 +++++++
 editors/zile/profile.d/editor.sh       |   10 ++++++++++
 shell-term-fm/bash/HISTORY             |    3 +++
 shell-term-fm/bash/INSTALL             |    2 +-
 shell-term-fm/bash/profile.d/editor.sh |   11 -----------
 39 files changed, 208 insertions(+), 14 deletions(-)

New commits:
commit b8022b35580d12123db37612a833022342e6226a
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

     fixing bug #10353: making each EDITOR provider provides their own profile script and removing it from bash

diff --git a/editors/diakonos/DETAILS b/editors/diakonos/DETAILS
index 3b87ff8..acff9e7 100755
--- a/editors/diakonos/DETAILS
+++ b/editors/diakonos/DETAILS
@@ -8,6 +8,7 @@ SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SP
          ENTERED=20050418
       LICENSE[0]=GPL
         KEYWORDS="editors"
+      PATCHLEVEL=1
            SHORT="Diakonos is a customizable, usable console-based text editor."
 cat << EOF
 Diakonos is a customizable, usable console-based text editor. I made it with the intention
diff --git a/editors/diakonos/HISTORY b/editors/diakonos/HISTORY
index a8ab880..3a32a30 100644
--- a/editors/diakonos/HISTORY
+++ b/editors/diakonos/HISTORY
@@ -1,3 +1,8 @@
+2007-01-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* profile.d/editor.sh: added
+	* INSTALL: install editor.sh
+	* DETAILS: PATCHLEVEL++
+
 2006-10-06 Pieter Lenaerts <e-type at sourcemage.org>
 	* DETAILS: updated to 0.8.2
 
diff --git a/editors/diakonos/INSTALL b/editors/diakonos/INSTALL
index 2f9aab6..c5f371a 100755
--- a/editors/diakonos/INSTALL
+++ b/editors/diakonos/INSTALL
@@ -1,3 +1,9 @@
 ruby setup.rb \
      --confdir=/share/diakonos \
-     --prefix=${INSTALL_ROOT}/usr
+     --prefix=${INSTALL_ROOT}/usr &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d/ &&
+if install_config_file  $SCRIPT_DIRECTORY/profile.d/editor.sh   \
+                        $INSTALL_ROOT/etc/profile.d/editor.sh;  then
+  chmod  0755  $INSTALL_ROOT/etc/profile.d/editor.sh
+fi
diff --git a/editors/diakonos/profile.d/editor.sh b/editors/diakonos/profile.d/editor.sh
new file mode 100644
index 0000000..6e53f0f
--- /dev/null
+++ b/editors/diakonos/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if  [ -z "$EDITOR" ] ; then
+        EDITOR="diakonos"
+fi
+
+export EDITOR
+
diff --git a/editors/e3/DETAILS b/editors/e3/DETAILS
index b5a2548..0c40d02 100755
--- a/editors/e3/DETAILS
+++ b/editors/e3/DETAILS
@@ -9,6 +9,7 @@ SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SP
          UPDATED=20040617
       LICENSE[0]=GPL
         KEYWORDS="editors"
+      PATCHLEVEL=1
            SHORT="e3 is an assembler written minimalistic full-screen text editor."
 cat << EOF
 e3 - a full-screen text editor written in assembler
diff --git a/editors/e3/HISTORY b/editors/e3/HISTORY
index bdba723..a5d77c0 100644
--- a/editors/e3/HISTORY
+++ b/editors/e3/HISTORY
@@ -1,3 +1,8 @@
+2007-01-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* profile.d/editor.sh: added
+	* INSTALL: install editor.sh
+	* DETAILS: PATCHLEVEL++
+
 2006-09-21 Juuso Alasuutari <iuso at sourcemage.org>
 	* PROVIDES: [automated] Fixed invalid entries.
 
diff --git a/editors/e3/INSTALL b/editors/e3/INSTALL
index 509fb96..b5b21d3 100755
--- a/editors/e3/INSTALL
+++ b/editors/e3/INSTALL
@@ -1,4 +1,10 @@
 make  BINDIR=${INSTALL_ROOT}/usr/bin               \
       MANDIR=${INSTALL_ROOT}/usr/share/man/man1    \
       PREFIX=${INSTALL_ROOT}/                      \
-      install
+      install &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d/ &&
+if install_config_file  $SCRIPT_DIRECTORY/profile.d/editor.sh   \
+                        $INSTALL_ROOT/etc/profile.d/editor.sh;  then
+  chmod  0755  $INSTALL_ROOT/etc/profile.d/editor.sh
+fi
diff --git a/editors/e3/profile.d/editor.sh b/editors/e3/profile.d/editor.sh
new file mode 100644
index 0000000..877e079
--- /dev/null
+++ b/editors/e3/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if  [ -z "$EDITOR" ] ; then
+        EDITOR="e3"
+fi
+
+export EDITOR
+
diff --git a/editors/elvis/DETAILS b/editors/elvis/DETAILS
index 5a42b4b..7fb1bf9 100755
--- a/editors/elvis/DETAILS
+++ b/editors/elvis/DETAILS
@@ -12,6 +12,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
     MENU_EXEC[0]=${SPELL}
     MENU_DESC[0]=${SHORT}
         KEYWORDS="editors"
+      PATCHLEVEL=1
            SHORT="elvis is a clone of vi/ex, the standard UNIX editor."
 cat << EOF
 Elvis is a clone of vi/ex, the standard UNIX editor. Elvis supports
diff --git a/editors/elvis/HISTORY b/editors/elvis/HISTORY
index 65db51d..657420b 100644
--- a/editors/elvis/HISTORY
+++ b/editors/elvis/HISTORY
@@ -1,3 +1,8 @@
+2007-01-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* profile.d/editor.sh: added
+	* INSTALL: install editor.sh
+	* DETAILS: PATCHLEVEL++
+
 2006-09-21 Juuso Alasuutari <iuso at sourcemage.org>
 	* PROVIDES: [automated] Fixed invalid entries.
 
diff --git a/editors/elvis/INSTALL b/editors/elvis/INSTALL
index 140ea5b..9b4e9bd 100755
--- a/editors/elvis/INSTALL
+++ b/editors/elvis/INSTALL
@@ -1,4 +1,10 @@
 default_install
 if [ "${MAKE_SYMLINK}" == "y" ] ; then
     ln -sf ${INSTALL_ROOT}/usr/bin/elvis ${INSTALL_ROOT}/usr/bin/vi
+fi &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d/ &&
+if install_config_file  $SCRIPT_DIRECTORY/profile.d/editor.sh   \
+                        $INSTALL_ROOT/etc/profile.d/editor.sh;  then
+  chmod  0755  $INSTALL_ROOT/etc/profile.d/editor.sh
 fi
diff --git a/editors/elvis/profile.d/editor.sh b/editors/elvis/profile.d/editor.sh
new file mode 100644
index 0000000..b8203de
--- /dev/null
+++ b/editors/elvis/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if  [ -z "$EDITOR" ] ; then
+        EDITOR="elvis"
+fi
+
+export EDITOR
+
diff --git a/editors/emacs/DETAILS b/editors/emacs/DETAILS
index cbf904d..7b00490 100755
--- a/editors/emacs/DETAILS
+++ b/editors/emacs/DETAILS
@@ -26,6 +26,7 @@ fi
       LICENSE[0]=GPL
          ENTERED=20010922
         KEYWORDS="emacs editors"
+      PATCHLEVEL=1
            SHORT="Emacs is the extensible, self-documenting real-time display editor."
 cat << EOF
 Emacs is the extensible, customizable, self-documenting real-time
diff --git a/editors/emacs/HISTORY b/editors/emacs/HISTORY
index 04df580..78d28e3 100644
--- a/editors/emacs/HISTORY
+++ b/editors/emacs/HISTORY
@@ -1,3 +1,8 @@
+2007-01-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* profile.d/editor.sh: added
+	* INSTALL: install editor.sh
+	* DETAILS: PATCHLEVEL++
+
 2006-11-19 Pol Vinogradov <vin.public at gmail.com>
 	* DETAILS: removed $VERSION from SOURCE{,_DIRECTORY} for cvs branch and
 	  added FORCE_DOWNLOAD=1
diff --git a/editors/emacs/INSTALL b/editors/emacs/INSTALL
new file mode 100755
index 0000000..81f4840
--- /dev/null
+++ b/editors/emacs/INSTALL
@@ -0,0 +1,7 @@
+default_install &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d/ &&
+if install_config_file  $SCRIPT_DIRECTORY/profile.d/editor.sh   \
+                        $INSTALL_ROOT/etc/profile.d/editor.sh;  then
+  chmod  0755  $INSTALL_ROOT/etc/profile.d/editor.sh
+fi
diff --git a/editors/emacs/profile.d/editor.sh b/editors/emacs/profile.d/editor.sh
new file mode 100644
index 0000000..0424f3a
--- /dev/null
+++ b/editors/emacs/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if  [ -z "$EDITOR" ] ; then
+        EDITOR="emacs"
+fi
+
+export EDITOR
+
diff --git a/editors/joe/DETAILS b/editors/joe/DETAILS
index ad0af78..83045a1 100755
--- a/editors/joe/DETAILS
+++ b/editors/joe/DETAILS
@@ -9,6 +9,7 @@ SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SP
          ENTERED=20020129
          UPDATED=20040617
         KEYWORDS="ascii editors"
+      PATCHLEVEL=1
           SHORT="joe is an ASCII text editor."
 cat << EOF
 JOE has the feel of most IBM PC text editors: The key-sequences are
diff --git a/editors/joe/HISTORY b/editors/joe/HISTORY
index 37bed88..52ffd2b 100644
--- a/editors/joe/HISTORY
+++ b/editors/joe/HISTORY
@@ -1,3 +1,8 @@
+2007-01-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* profile.d/editor.sh: added
+	* INSTALL: install editor.sh
+	* DETAILS: PATCHLEVEL++
+
 2006-11-29 Pieter Lenaerts <e-type at sourcemage.org>
 	* Updated to 3.5
 
diff --git a/editors/joe/INSTALL b/editors/joe/INSTALL
new file mode 100755
index 0000000..81f4840
--- /dev/null
+++ b/editors/joe/INSTALL
@@ -0,0 +1,7 @@
+default_install &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d/ &&
+if install_config_file  $SCRIPT_DIRECTORY/profile.d/editor.sh   \
+                        $INSTALL_ROOT/etc/profile.d/editor.sh;  then
+  chmod  0755  $INSTALL_ROOT/etc/profile.d/editor.sh
+fi
diff --git a/editors/joe/profile.d/editor.sh b/editors/joe/profile.d/editor.sh
new file mode 100644
index 0000000..3125746
--- /dev/null
+++ b/editors/joe/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if  [ -z "$EDITOR" ] ; then
+        EDITOR="joe"
+fi
+
+export EDITOR
+
diff --git a/editors/moe/DETAILS b/editors/moe/DETAILS
index b285151..27a9c74 100755
--- a/editors/moe/DETAILS
+++ b/editors/moe/DETAILS
@@ -11,6 +11,7 @@ SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SP
          ENTERED=20050930
       LICENSE[0]=GPL
         KEYWORDS="editors"
+      PATCHLEVEL=1
            SHORT="A powerful and user-friendly text editor"
 cat << EOF
 GNU Moe is a powerful, 8-bit clean, text editor for ISO-8859-15 and ASCII
diff --git a/editors/moe/HISTORY b/editors/moe/HISTORY
index 01a858b..d660927 100644
--- a/editors/moe/HISTORY
+++ b/editors/moe/HISTORY
@@ -1,3 +1,8 @@
+2007-01-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* profile.d/editor.sh: added
+	* INSTALL: install editor.sh
+	* DETAILS: PATCHLEVEL++
+
 2007-01-17 Pieter Lenaerts <e-type at sourcemage.org>
 	* DETAILS: updated to 0.8
 
diff --git a/editors/moe/INSTALL b/editors/moe/INSTALL
new file mode 100755
index 0000000..81f4840
--- /dev/null
+++ b/editors/moe/INSTALL
@@ -0,0 +1,7 @@
+default_install &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d/ &&
+if install_config_file  $SCRIPT_DIRECTORY/profile.d/editor.sh   \
+                        $INSTALL_ROOT/etc/profile.d/editor.sh;  then
+  chmod  0755  $INSTALL_ROOT/etc/profile.d/editor.sh
+fi
diff --git a/editors/moe/profile.d/editor.sh b/editors/moe/profile.d/editor.sh
new file mode 100644
index 0000000..b4c684f
--- /dev/null
+++ b/editors/moe/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if  [ -z "$EDITOR" ] ; then
+        EDITOR="moe"
+fi
+
+export EDITOR
+
diff --git a/editors/nano/DETAILS b/editors/nano/DETAILS
index 02b6bd1..b2ef6d5 100755
--- a/editors/nano/DETAILS
+++ b/editors/nano/DETAILS
@@ -10,6 +10,7 @@ SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SP
          ENTERED=20010922
       LICENSE[0]=GPL
         KEYWORDS="editors"
+      PATCHLEVEL=1
            SHORT="nano is a superior clone of the pico text editor."
 cat << EOF
 The nano project was started because of a few problems with the
diff --git a/editors/nano/HISTORY b/editors/nano/HISTORY
index 8298ed1..7ed7c1a 100644
--- a/editors/nano/HISTORY
+++ b/editors/nano/HISTORY
@@ -1,3 +1,8 @@
+2007-01-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* profile.d/editor.sh: added
+	* INSTALL: install editor.sh
+	* DETAILS: PATCHLEVEL++
+
 2007-01-31 Treeve Jelbert <treeve at pi.be>
 	* DETAILS: version 2.0.3
 
diff --git a/editors/nano/INSTALL b/editors/nano/INSTALL
index d4311f4..e6ad6e4 100755
--- a/editors/nano/INSTALL
+++ b/editors/nano/INSTALL
@@ -4,4 +4,10 @@ if [[ "$NANO_SELECTED_CONFIG" == "nanorc
   install_config_file  doc/nanorc.sample  $INSTALL_ROOT/etc/nanorc
 elif [[ "${NANO_SELECTED_CONFIG}" != "" ]] ; then
   install_config_file  $SCRIPT_DIRECTORY/spell-config/$NANO_SELECTED_CONFIG $INSTALL_ROOT/etc/nanorc
+fi &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d/ &&
+if install_config_file  $SCRIPT_DIRECTORY/profile.d/editor.sh   \
+                        $INSTALL_ROOT/etc/profile.d/editor.sh;  then
+  chmod  0755  $INSTALL_ROOT/etc/profile.d/editor.sh
 fi
diff --git a/editors/nano/profile.d/editor.sh b/editors/nano/profile.d/editor.sh
new file mode 100644
index 0000000..81ae787
--- /dev/null
+++ b/editors/nano/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if  [ -z "$EDITOR" ] ; then
+        EDITOR="nano"
+fi
+
+export EDITOR
+
diff --git a/editors/vim/DETAILS b/editors/vim/DETAILS
index 7217df0..457cd9a 100755
--- a/editors/vim/DETAILS
+++ b/editors/vim/DETAILS
@@ -29,6 +29,7 @@ fi
          ENTERED=20010922
          UPDATED=20050919
         KEYWORDS="editors"
+      PATCHLEVEL=1
            SHORT="VIM is an improved version of vi."
 cat << EOF
 VIM is an improved version of the editor vi, one of the standard text
diff --git a/editors/vim/HISTORY b/editors/vim/HISTORY
old mode 100755
new mode 100644
index fa332d6..83b7182
--- a/editors/vim/HISTORY
+++ b/editors/vim/HISTORY
@@ -1,3 +1,8 @@
+2007-01-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* profile.d/editor.sh: added
+	* INSTALL: install editor.sh
+	* DETAILS: PATCHLEVEL++
+
 2006-09-21 Juuso Alasuutari <iuso at sourcemage.org>
 	* PROVIDES: [automated] Fixed invalid entries.
 
diff --git a/editors/vim/INSTALL b/editors/vim/INSTALL
index 54b1f3c..7935f40 100755
--- a/editors/vim/INSTALL
+++ b/editors/vim/INSTALL
@@ -49,4 +49,10 @@ fi  &&
 if  [  "$GVIM_VIMRC"  ==  "y"  ];  then
   install_config_file  $SOURCE_DIRECTORY/runtime/vimrc_example.vim \
                        $INSTALL_ROOT/usr/share/vim/vimrc
+fi &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d/ &&
+if install_config_file  $SCRIPT_DIRECTORY/profile.d/editor.sh   \
+                        $INSTALL_ROOT/etc/profile.d/editor.sh;  then
+  chmod  0755  $INSTALL_ROOT/etc/profile.d/editor.sh
 fi
diff --git a/editors/vim/profile.d/editor.sh b/editors/vim/profile.d/editor.sh
new file mode 100644
index 0000000..b2d5e52
--- /dev/null
+++ b/editors/vim/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if  [ -z "$EDITOR" ] ; then
+        EDITOR="vim"
+fi
+
+export EDITOR
+
diff --git a/editors/zile/DETAILS b/editors/zile/DETAILS
index 67ba062..2ce85c7 100755
--- a/editors/zile/DETAILS
+++ b/editors/zile/DETAILS
@@ -9,6 +9,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL
       LICENSE[0]=GPL
          ENTERED=20010922
         KEYWORDS="emacs editors"
+      PATCHLEVEL=1
            SHORT="zile is a small, fast and powerful emacs clone."
 cat << EOF
 Zile is a small, fast, and powerful Emacs clone. It is very useful for
diff --git a/editors/zile/HISTORY b/editors/zile/HISTORY
index 92b57fd..43ad58e 100644
--- a/editors/zile/HISTORY
+++ b/editors/zile/HISTORY
@@ -1,3 +1,8 @@
+2007-01-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* profile.d/editor.sh: added
+	* INSTALL: install editor.sh
+	* DETAILS: PATCHLEVEL++
+
 2007-01-19 Pieter Lenaerts <e-type at sourcemage.org>
 	* DETAILS: updated to 2.2.28
 
diff --git a/editors/zile/INSTALL b/editors/zile/INSTALL
new file mode 100755
index 0000000..81f4840
--- /dev/null
+++ b/editors/zile/INSTALL
@@ -0,0 +1,7 @@
+default_install &&
+
+mkdir -p $INSTALL_ROOT/etc/profile.d/ &&
+if install_config_file  $SCRIPT_DIRECTORY/profile.d/editor.sh   \
+                        $INSTALL_ROOT/etc/profile.d/editor.sh;  then
+  chmod  0755  $INSTALL_ROOT/etc/profile.d/editor.sh
+fi
diff --git a/editors/zile/profile.d/editor.sh b/editors/zile/profile.d/editor.sh
new file mode 100644
index 0000000..0745ced
--- /dev/null
+++ b/editors/zile/profile.d/editor.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if  [ -z "$EDITOR" ] ; then
+        EDITOR="zile"
+fi
+
+export EDITOR
+
diff --git a/shell-term-fm/bash/HISTORY b/shell-term-fm/bash/HISTORY
index cc26868..5d732bd 100644
--- a/shell-term-fm/bash/HISTORY
+++ b/shell-term-fm/bash/HISTORY
@@ -1,3 +1,6 @@
+2007-01-16 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+       * profile.d/editor.sh: Removed, added to providers of EDITOR #10353
+
 2006-10-06 Juuso Alasuutari <iuso at sourcemage.org>
 	* profile.d/dummy: Removed bashism.
 	* profile.d/editor.sh: Removed bashism.
diff --git a/shell-term-fm/bash/INSTALL b/shell-term-fm/bash/INSTALL
index 62d4a0e..0c83df8 100755
--- a/shell-term-fm/bash/INSTALL
+++ b/shell-term-fm/bash/INSTALL
@@ -37,7 +37,7 @@ install-info  --info-dir=${INSTALL_ROOT}
 #
 # Install etc/profile.d scripts
 #
-for i in dummy editor.sh lc.sh;  do
+for i in dummy lc.sh;  do
   if  install_config_file  $SCRIPT_DIRECTORY/profile.d/$i   \
                            $INSTALL_ROOT/etc/profile.d/$i;  then
     chmod  0755  $INSTALL_ROOT/etc/profile.d/$i
diff --git a/shell-term-fm/bash/profile.d/editor.sh b/shell-term-fm/bash/profile.d/editor.sh
deleted file mode 100644
index c1d819b..0000000
--- a/shell-term-fm/bash/profile.d/editor.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-# Added by /usr/sbin/smgl.install
-# First check if this variable is already set
-# then if not set, check it (maybe), then set it
-
-if  [ -z "$EDITOR" ] ; then
-        EDITOR="nano"
-fi
-
-export EDITOR
-



More information about the SM-Commit mailing list