summaryrefslogtreecommitdiffstats
path: root/graphics-libs/jpeg/UP_TRIGGERS
diff options
context:
space:
mode:
Diffstat (limited to 'graphics-libs/jpeg/UP_TRIGGERS')
-rwxr-xr-xgraphics-libs/jpeg/UP_TRIGGERS4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics-libs/jpeg/UP_TRIGGERS b/graphics-libs/jpeg/UP_TRIGGERS
index 96b5ada65d..8a2c1bd72d 100755
--- a/graphics-libs/jpeg/UP_TRIGGERS
+++ b/graphics-libs/jpeg/UP_TRIGGERS
@@ -1,4 +1,4 @@
-# up_trigger everything on major version updates
+# up_trigger everything on major version updates
local OLD_SPELL_VERSION=""
if spell_ok $SPELL; then
@@ -10,7 +10,7 @@ if spell_ok $SPELL; then
OLD_SPELL_VERSION=${OLD_SPELL_VERSION/6b/62}
for each in $(show_up_depends $SPELL); do
if gaze install $each | xargs readelf -d 2> /dev/null |
- grep -q "NEEDED.*libjpeg\.so\.$OLD_SPELL_VERSION"; then
+ grep -q "NEEDED.*libjpeg\.so\.${OLD_SPELL_VERSION:0:1}"; then
up_trigger $each cast_self
fi
done