summaryrefslogtreecommitdiffstats
path: root/freeipa.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'freeipa.spec.in')
-rw-r--r--freeipa.spec.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/freeipa.spec.in b/freeipa.spec.in
index 2da5d4176..cfd87f954 100644
--- a/freeipa.spec.in
+++ b/freeipa.spec.in
@@ -385,9 +385,13 @@ fi
%endif
if [ $1 -gt 1 ] ; then
/usr/sbin/ipa-upgradeconfig || :
- /usr/sbin/ipa-ldap-updater --upgrade >/dev/null 2>&1 || :
fi
+%posttrans server
+# This must be run in posttrans so that updates from previous
+# execution that may no longer be shipped are not applied.
+/usr/sbin/ipa-ldap-updater --upgrade >/dev/null 2>&1 || :
+
%preun server
if [ $1 = 0 ]; then
%if 0%{?fedora} >= 16