summaryrefslogtreecommitdiffstats
path: root/archive-libs/libarchive/UP_TRIGGERS
blob: 9d6c1e66ddf7dc4dad97e320d4cb74a727d2e8e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
local OLD_SPELL_VERSION=""
spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)"
if [ "${VERSION:0:3}" != "${OLD_SPELL_VERSION:0:3}" ]; then
  message "This is an 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 1); do
    up_trigger $each cast_self
  done
fi