CVS patchset: 2071
CVS date: 1998/04/05 17:22:28
- --nomd5 wasn't handled properly
- updated configure.in find-req and find-prov checks (Tim Mooney)
- make --rmsource actually work
+ - run postun triggers
2.4.105 -> 2.4.106:
- build: only check for non-printables in first 128 chars
Will put a trigger in package 'package' which runs when the installation
status of either fileutils > 3.0 or perl < 1.2 is changed. The script will
be run through /usr/bin/perl rather then /bin/sh (which is the default).
+
+An Unusual Case
+---------------
+
+There is one other type of trigger available -- %triggerpostun. These are
+triggers that are run after their target package has been removed; they will
+never be run when the package containing the trigger is removed.
+
+While this type of trigger is almost never usefull, they allow a package to
+fix errors introduced by the %postun of another package (or by an earlier
+version of that package).
flags & RPMUNINSTALL_NOSCRIPTS, 0);
}
+ /* Run postun triggers which are set off by this package's removal */
+ if (runTriggers(rootdir, db, RPMSENSE_TRIGGERPOSTUN, h, 0)) {
+ return 2;
+ }
+
headerFree(h);
rpmMessage(RPMMESS_DEBUG, "removing database entry\n");