summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/UP_TRIGGERS
blob: db2fa685fd934bb8e870b914e51d6e35abfa8371 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
# this makes ABI changes automatically cast those that depend on openssl via an up_trigger

spell_ok $SPELL && local OLD_SPELL_VERSION="$(installed_version $SPELL)" || return 0

if [ "${VERSION/[a-z]*/}" != "${OLD_SPELL_VERSION/[a-z]*/}" ] || \
   [ "${VERSION%.*}" != "${OLD_SPELL_VERSION%.*}" ]; then
  for each in $(show_up_depends $SPELL 1); do
    up_trigger $each cast_self
  done
fi