server.postinst: Use ipa-server-upgrade.

This commit is contained in:
Timo Aaltonen committed 2016-01-04 15:40:42 +02:00
1 parent 67ba53011c
commit 38f75ea5b8
2 files changed
+3 -4

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ freeipa (4.3.0-1) UNRELEASED; urgency=medium
* prefix.patch: Fix ipalib install too.
* control: Bump certmonger deps, add oddjob to server and oddjob-
mkhomedir to client deps.
* server.postinst: Use ipa-server-upgrade.
-- Timo Aaltonen <tjaalton@debian.org> Sat, 03 Oct 2015 08:56:31 +0300
+2 -4
View File
@@ -31,10 +31,8 @@ if [ "$1" = configure ]; then
# check if IPA is set up
is_configured=`python2 -c 'from ipaserver.install import installutils; print "yes" if installutils.is_ipa_configured() else "no";'`
if [ $is_configured = yes ]; then
echo "Running ipa-ldap-updater..."
ipa-ldap-updater --upgrade --quiet >/dev/null
echo "Running ipa-upgradeconfig..."
ipa-upgradeconfig --quiet >/dev/null
echo "Running ipa-server-upgrade..."
ipa-server-upgrade --quiet >/dev/null
fi
fi