Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Ismael Luceno (4949201b95d4575287ead62d8e9048519c3671d5)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Ismael Luceno (4949201b95d4575287ead62d8e9048519c3671d5)
  • Date: Wed, 24 Dec 2014 18:06:29 -0600

GIT changes to master sorcery by Ismael Luceno <ismael AT sourcemage.org>:

usr/sbin/scribe | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

New commits:
commit 4949201b95d4575287ead62d8e9048519c3671d5
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

scribe: Index versions when adding/updating grimoire

diff --git a/usr/sbin/scribe b/usr/sbin/scribe
index 0872c96..7e98bfd 100755
--- a/usr/sbin/scribe
+++ b/usr/sbin/scribe
@@ -6,7 +6,7 @@
## @Synopsis scribe handles adding/updating/reindexing/etc. of grimoires
##
## @Copyright Original version Copywright 2002 by Ryan Abrams
-## @Copyright Additions/Corrections Copyright 2002-2004 by the Source Mage
Team
+## @Copyright Additions/Corrections Copyright 2002-2014 by the Source Mage
Team
## @Copyright Released under the GPL
#---------------------------------------------------------------------

@@ -329,12 +329,14 @@ function scribe_add_update_worker() {
chmod +x $grimoire/GRIMOIRE &&

if [[ $add_or_update == add ]] ; then
- codex_add_grimoire $grimoire 0 &&
- scribe_reindex $grimoire
+ codex_add_grimoire $grimoire 0
+ fi &&
+ scribe_reindex $grimoire &&
+ scribe_reindex_version $grimoire &&
+ if [[ $add_or_update == add ]] ; then
message "${MESSAGE_COLOR}Grimoire ${FILE_COLOR}\"$grimoire\"" \
"${MESSAGE_COLOR}successfully added to your
codex.${DEFAULT_COLOR}"
else
- scribe_reindex $grimoire
message "${SPELL_COLOR}$grim_name
${MESSAGE_COLOR}updated!${DEFAULT_COLOR}"
echo
grimoire_history $grimoire



  • [SM-Commit] GIT changes to master sorcery by Ismael Luceno (4949201b95d4575287ead62d8e9048519c3671d5), Ismael Luceno, 12/24/2014

Archive powered by MHonArc 2.6.24.

Top of Page