blob: 65773818055b24325c407bb5b4afbb9443f7ef11 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
local OLD_SPELL_VERSION=""
if spell_ok $SPELL; then
OLD_SPELL_VERSION="$(installed_version $SPELL)"
if test "${VERSION}" != "${OLD_SPELL_VERSION}"; then
message "This is a possibly incompatible update of $SPELL..."
message "Figuring out what spells need to be recast, this may take a while."
for each in $(show_up_depends $SPELL); do
up_trigger $each cast_self
done
fi
fi
|