diff options
author | Jaka Kranjc | 2008-10-01 17:50:09 +0200 |
---|---|---|
committer | Jaka Kranjc | 2008-10-01 17:50:34 +0200 |
commit | 825a6d9890b101d0f0cb0ca0bb43dd368a974710 (patch) | |
tree | 5f8c80e52ec3efc9c4fb3e04ce4614506b5139f9 | |
parent | ff1be9cd410f07a4fb3734414016e45936232c89 (diff) |
db: only trigger the level 1 dependencies, not recursively
-rw-r--r-- | database/db/HISTORY | 3 | ||||
-rwxr-xr-x | database/db/UP_TRIGGERS | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/database/db/HISTORY b/database/db/HISTORY index 17c94f3e82..1aad623531 100644 --- a/database/db/HISTORY +++ b/database/db/HISTORY @@ -1,3 +1,6 @@ +2008-10-01 Jaka Kranjc <lynxlynxlynx@sourcemage.org> + * UP_TRIGGERS: only trigger the level 1 dependencies, not recursively + 2008-09-28 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 4.7.25 note that the format of the logfile has changed diff --git a/database/db/UP_TRIGGERS b/database/db/UP_TRIGGERS index 5d79585a01..6b4e942e66 100755 --- a/database/db/UP_TRIGGERS +++ b/database/db/UP_TRIGGERS @@ -6,7 +6,7 @@ if spell_ok $SPELL; then if test "${VERSION:0:3}" != "${OLD_SPELL_VERSION:0:3}"; then message "This is a possibly incompatible update of libdb..." message "Figuring out what spells need to be recast, this may take a while." - for each in $(show_up_depends $SPELL); do + for each in $(show_up_depends $SPELL 1); do if gaze install $each | xargs readelf -d 2> /dev/null | grep -q "NEEDED.*libdb\(\|_cxx\)-${OLD_SPELL_VERSION:0:3}"; then up_trigger $each cast_self |