sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (050389e4f6d83d8cf3f776e2c4b3496819a4c567)
- 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 (050389e4f6d83d8cf3f776e2c4b3496819a4c567)
- Date: Sat, 9 Jun 2012 03:46:11 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
libs/libevent/HISTORY | 3 +++
libs/libevent/UP_TRIGGERS | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 050389e4f6d83d8cf3f776e2c4b3496819a4c567
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
libevent: corrected UP_TRIGGERS
diff --git a/libs/libevent/HISTORY b/libs/libevent/HISTORY
index bceaf8e..38426e6 100644
--- a/libs/libevent/HISTORY
+++ b/libs/libevent/HISTORY
@@ -1,3 +1,6 @@
+2012-06-09 Vlad Glagolev <stealth AT sourcemage.org>
+ * UP_TRIGGERS: don't compare when spell isn't installed
+
2012-06-02 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 2.0.19
diff --git a/libs/libevent/UP_TRIGGERS b/libs/libevent/UP_TRIGGERS
index b8aa116..4ef15ef 100755
--- a/libs/libevent/UP_TRIGGERS
+++ b/libs/libevent/UP_TRIGGERS
@@ -1,8 +1,8 @@
# up_trigger everything on major version updates
-spell_ok $SPELL && local OLD_SPELL_VERSION="$(installed_version $SPELL)"
+spell_ok $SPELL && local OLD_SPELL_VERSION="$(installed_version $SPELL)" ||
return 0
-if spell_ok $SPELL && [[ "${VERSION:0:1}" != "${OLD_SPELL_VERSION:0:1}" ]];
then
+if [[ "${VERSION:0:1}" != "${OLD_SPELL_VERSION:0:1}" ]]; then
message "This is a possibly incompatible update of $SPELL..." &&
message "Figuring out what spells need to be recast, this may take a
while." &&
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (050389e4f6d83d8cf3f776e2c4b3496819a4c567), Vlad Glagolev, 06/09/2012
Archive powered by MHonArc 2.6.24.