summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorewt <devnull@localhost>1998-04-05 17:22:28 +0000
committerewt <devnull@localhost>1998-04-05 17:22:28 +0000
commit37e6bc17694031a1f7ff14db066921b65f35d4a3 (patch)
tree1b30345185691c998fd985dc1f5d54681bf7c803 /docs
parenta1aba0f11d6597e1715dc6584fd2d0d558976422 (diff)
downloadrpm-37e6bc17694031a1f7ff14db066921b65f35d4a3.tar.gz
rpm-37e6bc17694031a1f7ff14db066921b65f35d4a3.tar.bz2
rpm-37e6bc17694031a1f7ff14db066921b65f35d4a3.zip
implemented %triggerpostun
CVS patchset: 2071 CVS date: 1998/04/05 17:22:28
Diffstat (limited to 'docs')
-rw-r--r--docs/triggers11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/triggers b/docs/triggers
index b7d5427b8..c148f1bca 100644
--- a/docs/triggers
+++ b/docs/triggers
@@ -111,3 +111,14 @@ conditions becomes true (the , can be read as "or"). For example:
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).