Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (eac5ac09336856f147adc0d694b287129527ced2)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (eac5ac09336856f147adc0d694b287129527ced2)
  • Date: Fri, 22 Aug 2008 05:16:54 -0500

GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 3 +++
var/lib/sorcery/modules/libdepends | 12 ++++++------
2 files changed, 9 insertions(+), 6 deletions(-)

New commits:
commit eac5ac09336856f147adc0d694b287129527ced2
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libdepends: disabled the "continue to use" queries for providers #14667

Any suggestions for a better message?

diff --git a/ChangeLog b/ChangeLog
index 586bdaf..c5a08ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2008-08-22 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
+ * libdepends: disabled the "continue to use" queries for providers
#14667
+
2008-08-21 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libtablet: REPAIR^all can now "repair" non-existing files

diff --git a/var/lib/sorcery/modules/libdepends
b/var/lib/sorcery/modules/libdepends
index 7a06ee3..9f0a37a 100755
--- a/var/lib/sorcery/modules/libdepends
+++ b/var/lib/sorcery/modules/libdepends
@@ -962,8 +962,8 @@ function work_depends_provider()
# anyone noticing
explode "$(search_depends_status $DEPENDS_STATUS "$SPELL" ".*($1)")" ":"
"status"
tmp=${status[1]%(*} # Name of spell which provides $1
- if spell_ok $tmp &&
- query "Continue to use ${SPELL_COLOR}$tmp${DEFAULT_COLOR}?" y; then
+ if spell_ok $tmp; then
+ message "${MESSAGE_COLOR}Using ${SPELL_COLOR}$tmp${DEFAULT_COLOR}"
private_common_depends "$tmp($1)" "on" "$database_term" "$2" "$3"
return 0
fi
@@ -1073,14 +1073,14 @@ function work_optional_depends_provider()
if [[ ! $RECONFIGURE ]]; then
explode "$(search_depends_status_simple $DEPENDS_STATUS "$SPELL"
".*($1)" "on")" ":" "status"
local tmp=${status[1]%(*} # Name of spell which provides $1
- if [[ "$tmp" ]] && spell_ok "$tmp" &&
- query "Continue to use ${SPELL_COLOR}$tmp${DEFAULT_COLOR}?" y; then
+ if [[ "$tmp" ]] && spell_ok "$tmp"; then
+ message "${MESSAGE_COLOR}Using ${SPELL_COLOR}$tmp${DEFAULT_COLOR}"
private_common_depends "$tmp($1)" "on" "$database_term" "$2" "$3"
return 0
fi
if [[ "$(search_depends_status_simple $DEPENDS_STATUS \
- "$SPELL" ".*($1)" "off")" ]] &&
- query "Continue to use ${SPELL_COLOR}[none]${DEFAULT_COLOR}?" y; then
+ "$SPELL" ".*($1)" "off")" ]]; then
+ message "${MESSAGE_COLOR}Using ${SPELL_COLOR}[none]${DEFAULT_COLOR}"
private_common_depends "$tmp($1)" "off" "$database_term" "$2" "$3"
return 0
fi




Archive powered by MHonArc 2.6.24.

Top of Page