sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (eddc1706a2bc49b0fe3d39d165cba3aabf14dced)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (eddc1706a2bc49b0fe3d39d165cba3aabf14dced)
- Date: Sun, 20 Aug 2017 14:00:14 +0000
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
editors/nvi/CONFIGURE | 8 +++++++-
editors/nvi/HISTORY | 4 ++++
editors/nvi/INSTALL | 3 ++-
editors/nvi/PROVIDES | 1 +
4 files changed, 14 insertions(+), 2 deletions(-)
New commits:
commit eddc1706a2bc49b0fe3d39d165cba3aabf14dced
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
nvi: added EX provider
diff --git a/editors/nvi/CONFIGURE b/editors/nvi/CONFIGURE
index e2ca512..1b71455 100755
--- a/editors/nvi/CONFIGURE
+++ b/editors/nvi/CONFIGURE
@@ -1,9 +1,15 @@
-config_query NVI_SYMLINK "Would you like to have /usr/bin/vi as a symlink to
/usr/bin/nvi?" n &&
+config_query NVI_SYMLINK "Would you like to have /usr/bin/[vi|ex] as a
symlink to /usr/bin/n[vi|ex]?" n &&
if [ "${NVI_SYMLINK}" == "y" ]; then
if [ -e /usr/bin/vi ] && `readlink -f "/usr/bin/vi" | grep -Eqv "nvi"`;
then
message "${MESSAGE_COLOR}VI is already provided by another vi clone.
Recast it" &&
message "with the vi symlink option disabled, then recast
${SPELL}.${DEFAULT_COLOR}" &&
NVI_SYMLINK="n"
+ fi &&
+
+ if [ -e /usr/bin/ex ] && `readlink -f "/usr/bin/ex" | grep -Eqv "nvi"`;
then
+ message "${MESSAGE_COLOR}EX is already provided by another ex clone.
Recast it" &&
+ message "with the ex symlink option disabled, then recast
${SPELL}.${DEFAULT_COLOR}" &&
+ NVI_SYMLINK="n"
fi
fi
diff --git a/editors/nvi/HISTORY b/editors/nvi/HISTORY
index f5281fd..c91161a 100644
--- a/editors/nvi/HISTORY
+++ b/editors/nvi/HISTORY
@@ -1,3 +1,7 @@
+2017-08-20 Vlad Glagolev <stealth AT sourcemage.org>
+ * CONFIGURE, INSTALL: do symlinking for ex
+ * PROVIDES: added EX provider
+
2017-08-13 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS, DEPENDS, {PRE_,}BUILD, INSTALL, CONFIGURE, PROVIDES,
profile.d: created spell, version 1.79
diff --git a/editors/nvi/INSTALL b/editors/nvi/INSTALL
index 945d99b..890a8ee 100755
--- a/editors/nvi/INSTALL
+++ b/editors/nvi/INSTALL
@@ -1,7 +1,8 @@
default_install &&
if [[ $NVI_SYMLINK == y ]]; then
- ln -vsf "${TRACK_ROOT}/usr/bin/nvi" "${INSTALL_ROOT}/usr/bin/vi"
+ ln -vsf "${TRACK_ROOT}/usr/bin/nvi" "${INSTALL_ROOT}/usr/bin/vi" &&
+ ln -vsf "${TRACK_ROOT}/usr/bin/nex" "${INSTALL_ROOT}/usr/bin/ex"
fi &&
if install_config_file "${SPELL_DIRECTORY}/profile.d/editor.sh" \
diff --git a/editors/nvi/PROVIDES b/editors/nvi/PROVIDES
index 1e25c73..3d7b456 100755
--- a/editors/nvi/PROVIDES
+++ b/editors/nvi/PROVIDES
@@ -1,2 +1,3 @@
VI
+EX
TEXT-EDITOR
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (eddc1706a2bc49b0fe3d39d165cba3aabf14dced), Vlad Glagolev, 08/21/2017
Archive powered by MHonArc 2.6.24.