summaryrefslogtreecommitdiffstats
path: root/crypto/openssl/UP_TRIGGERS
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/UP_TRIGGERS')
-rwxr-xr-xcrypto/openssl/UP_TRIGGERS3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssl/UP_TRIGGERS b/crypto/openssl/UP_TRIGGERS
index 3edee7065d..db2fa685fd 100755
--- a/crypto/openssl/UP_TRIGGERS
+++ b/crypto/openssl/UP_TRIGGERS
@@ -2,7 +2,8 @@
spell_ok $SPELL && local OLD_SPELL_VERSION="$(installed_version $SPELL)" || return 0
-if [ "${VERSION/[a-z]*/}" != "${OLD_SPELL_VERSION/[a-z]*/}" ]; then
+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