New commits:
commit e61ce1fe5eb4ec861c3b7a4540936f80763b48cf
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
cleanse: do not treat held and dispelled spells equally #264
fixes #264
commit c5d75aadb7088ec72c1bde02e531524660e2664f
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
gaze: don't break on broken or rare tablets #265, patch from Pyrobor
fixes #265
diff --git a/ChangeLog b/ChangeLog
index ab63c89..c636c57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
2011-10-08 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* gaze: don't break on broken or rare tablets #265
+ * cleanse: do not treat held and dispelled spells equally #264
2011-10-06 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libdownload: print the original argument if cmd is unset
diff --git a/usr/sbin/cleanse b/usr/sbin/cleanse
index 8a72830..d171875 100755
--- a/usr/sbin/cleanse
+++ b/usr/sbin/cleanse
@@ -687,7 +687,7 @@ function cleanse_fix_run_checks() {
set_term_title "Checking $SPELL ($2 of $3)"
message "Checking ${SPELL_COLOR}${SPELL}${DEFAULT_COLOR} ($2 of $3)"
fi
- if ! spell_installed $SPELL; then
+ if ! spell_ok $SPELL; then
message "${SPELL_COLOR}${SPELL}${MESSAGE_COLOR_COLOR}" \
"was dispelled in the meanwhile, skipping check!${DEFAULT_COLOR}"
return 0
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (234eaf35a294d975e2ef947e5179806293157add),
Jaka Kranjc, 10/08/2011