mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 14:40:16 -05:00
server.postinst: Use ipa-server-upgrade.
This commit is contained in:
1 parent
67ba53011c
commit
38f75ea5b8
2 files changed
+3
-4
No files matched your search
Vendored
+1
@@ -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
|
||||
|
||||
|
||||
Vendored
+2
-4
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user