diff options
Diffstat (limited to 'archive/dar/UP_TRIGGERS')
-rwxr-xr-x | archive/dar/UP_TRIGGERS | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archive/dar/UP_TRIGGERS b/archive/dar/UP_TRIGGERS index 922bd108b0..4a7950b9e5 100755 --- a/archive/dar/UP_TRIGGERS +++ b/archive/dar/UP_TRIGGERS @@ -1,6 +1,7 @@ # up_trigger everything on minor version updates as most stuff links to libdar32.so.3 local OLD_SPELL_VERSION="" +local OLD_SO=3 if spell_ok $SPELL; then OLD_SPELL_VERSION="$(installed_version $SPELL)" if test "${VERSION:0:4}" != "${OLD_SPELL_VERSION:0:4}"; then @@ -8,7 +9,7 @@ if spell_ok $SPELL; then message "Figuring out what spells need to be recast, this may take a while." for each in $(show_up_depends $SPELL); do if gaze install $each | xargs readelf -d 2> /dev/null | - grep -q "NEEDED.*libdar[36][24].so.3"; then + grep -q "NEEDED.*libdar[36][24].so.$OLD_SO"; then up_trigger $each cast_self fi done |