Blame rpm-4.4.1-prepostun.patch
|
Paul Nasrat |
c3f9d9 |
--- rpm-4.4.1/lib/depends.c.prepostun 2004-12-07 14:09:16.000000000 +0000
|
|
Paul Nasrat |
c3f9d9 |
+++ rpm-4.4.1/lib/depends.c 2005-04-26 14:12:23.000000000 +0100
|
|
Paul Nasrat |
c3f9d9 |
@@ -1294,14 +1294,12 @@
|
|
Paul Nasrat |
c3f9d9 |
switch (rpmteType(p)) {
|
|
Paul Nasrat |
c3f9d9 |
case TR_REMOVED:
|
|
Paul Nasrat |
c3f9d9 |
/* Skip if not %preun/%postun requires or legacy prereq. */
|
|
Paul Nasrat |
c3f9d9 |
- if (isInstallPreReq(Flags)
|
|
Paul Nasrat |
c3f9d9 |
- || !( isErasePreReq(Flags) || isLegacyPreReq(Flags) ) )
|
|
Paul Nasrat |
c3f9d9 |
+ if (!( isErasePreReq(Flags) || isLegacyPreReq(Flags) ) )
|
|
Paul Nasrat |
c3f9d9 |
/*@innercontinue@*/ continue;
|
|
Paul Nasrat |
c3f9d9 |
/*@switchbreak@*/ break;
|
|
Paul Nasrat |
c3f9d9 |
case TR_ADDED:
|
|
Paul Nasrat |
c3f9d9 |
/* Skip if not %pre/%post requires or legacy prereq. */
|
|
Paul Nasrat |
c3f9d9 |
- if (isErasePreReq(Flags)
|
|
Paul Nasrat |
c3f9d9 |
- || !( isInstallPreReq(Flags) || isLegacyPreReq(Flags) ) )
|
|
Paul Nasrat |
c3f9d9 |
+ if (!( isInstallPreReq(Flags) || isLegacyPreReq(Flags) ) )
|
|
Paul Nasrat |
c3f9d9 |
/*@innercontinue@*/ continue;
|
|
Paul Nasrat |
c3f9d9 |
/*@switchbreak@*/ break;
|
|
Paul Nasrat |
c3f9d9 |
}
|