sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a)
- From: Eric Sandall <eric AT sandall.us>
- To: sm-commit AT lists.ibiblio.org
- Subject: Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a)
- Date: Fri, 02 Feb 2007 10:18:09 -0800
Quoting Jaka Kranjc <scm AT mail.sourcemage.org>:
GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:<snip>
New commits:<snip>
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
+
I don't think this will work as you intend. The first editor installed will put in /etc/profile.d/editor.sh, and then none of the others will install one as that file will exist (correct?). If they do overwrite the prior editor.sh, then the prior spell will now be broken for cleanse. Another fun thing is that (almost) everyone will have tetex installed (for documention, if not TeX itself), which depends on ed.
-sandalle
--
Eric Sandall | Source Mage GNU/Linux Developer
eric at sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-
[SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Jaka Kranjc, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Eric Sandall, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Jaka Kranjc, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Eric Sandall, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Jaka Kranjc, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Eric Sandall, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Andraž 'ruskie' Levstik, 02/02/2007
- Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a), Thomas Orgis, 02/03/2007
- Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a), Andraž 'ruskie' Levstik, 02/03/2007
- Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a), Thomas Orgis, 02/03/2007
- Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a), Andraž 'ruskie' Levstik, 02/03/2007
- Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a), Jeremy Blosser, 02/03/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Andraž 'ruskie' Levstik, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Eric Sandall, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Jaka Kranjc, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Eric Sandall, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Jaka Kranjc, 02/02/2007
-
Re: [SM-Commit] GIT changes to master grimoire by Jaka Kranjc (b8022b35580d12123db37612a833022342e6226a),
Eric Sandall, 02/02/2007
Archive powered by MHonArc 2.6.24.