fix the qt 4.5 -> 4.6 update issue.
authorespie <espie@openbsd.org>
Sun, 1 Aug 2010 10:03:24 +0000 (10:03 +0000)
committerespie <espie@openbsd.org>
Sun, 1 Aug 2010 10:03:24 +0000 (10:03 +0000)
commit8221480eec2d017394bdb65c63c11b8d9c96e068
tree46406c4b0b019f1d4fa0dd5223f36e57ca0f1e04
parent490e89ad1731c0c653e23bf6b1671f217dcdeb7d
fix the qt 4.5 -> 4.6 update issue.
since we usually deal with directories in a global way, replacing a
directory with something else didn't work.
the fix is to record removed directories in Vstat in a "lazy" way:
we only test these objects for existence if we add something else at
the same location. Since this happens rarely, we can afford to perform
the whole SharedItems dance twice...
usr.sbin/pkg_add/OpenBSD/Delete.pm
usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
usr.sbin/pkg_add/OpenBSD/SharedItems.pm
usr.sbin/pkg_add/OpenBSD/UpdateSet.pm
usr.sbin/pkg_add/OpenBSD/Vstat.pm