Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 6841] New: Held spells do not register as installed in sorcery . . .

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 6841] New: Held spells do not register as installed in sorcery . . .
  • Date: Sat, 8 May 2004 09:57:54 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=6841

Summary: Held spells do not register as installed in sorcery . .
.
Product: Sorcery
Version: Devel
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: subroutines
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: jflatt AT sourcemage.org


If a spell is installed and held, then the spell_installed function in
libstate
returns false. In the following snippet, replace gcc with a spell that is
held
(or leave it and hold gcc). :^) It will always echo "No" rahter than "Yes".

#!/bin/bash
. /etc/sorcery/config
INSTALLED_AND_HELD_SPELL=gcc
if spell_installed $INSTALLED_AND_HELD_SPELL; then
echo Yes
else
echo No
fi



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 6841] New: Held spells do not register as installed in sorcery . . ., bugzilla-daemon, 05/08/2004

Archive powered by MHonArc 2.6.24.

Top of Page