diff options
author | Pol Vinogradov | 2010-12-22 15:30:45 -0500 |
---|---|---|
committer | Pol Vinogradov | 2010-12-22 15:30:45 -0500 |
commit | 6c41be7c17699747644fb272bbee869883807e2f (patch) | |
tree | a15daeebdba653fb3eac296aff4b7e57d66a71cc /xorg-extras/libpthread-stubs | |
parent | b785b0ca73140622b876d8948dc248d0e2d0e9aa (diff) |
xorg-extras/libpthread-stubs: added UP_TRIGGERS to fix depends after update
Diffstat (limited to 'xorg-extras/libpthread-stubs')
-rw-r--r-- | xorg-extras/libpthread-stubs/HISTORY | 3 | ||||
-rwxr-xr-x | xorg-extras/libpthread-stubs/UP_TRIGGERS | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/xorg-extras/libpthread-stubs/HISTORY b/xorg-extras/libpthread-stubs/HISTORY index 33b763529d..a4ed52b896 100644 --- a/xorg-extras/libpthread-stubs/HISTORY +++ b/xorg-extras/libpthread-stubs/HISTORY @@ -1,3 +1,6 @@ +2010-12-22 Pol Vinogradov <vin.public@gmail.com> + * UP_TRIGGERS: added to fix depends after update + 2010-12-21 Ladislav Hagara <hgr@vabo.cz> * DETAILS: 0.3 diff --git a/xorg-extras/libpthread-stubs/UP_TRIGGERS b/xorg-extras/libpthread-stubs/UP_TRIGGERS new file mode 100755 index 0000000000..26c774aa1a --- /dev/null +++ b/xorg-extras/libpthread-stubs/UP_TRIGGERS @@ -0,0 +1,12 @@ +local OLD_SPELL_VERSION="" +spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)" +if [ "${VERSION:1:2}" != "${OLD_SPELL_VERSION:1:2}" ]; then + message "This is a possibly incompatible update of libpthread-stubs..." + message "Figuring out what spells need to be recast, this may take a while." + for each in $(show_up_depends $SPELL 3); do + if gaze install-spell $each | xargs ldd 2> /dev/null | + grep -q libpthread-stubs; then + up_trigger $each cast_self + fi + done +fi |