Imported Debian patch 4.6.2-4~numeezy
This commit is contained in:
committed by
Mario Fetka
parent
8ff3be4216
commit
c86f4cfde4
17
debian/freeipa-client.postinst
vendored
Normal file
17
debian/freeipa-client.postinst
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
LOGFILE=/var/log/ipaclient-upgrade.log
|
||||
|
||||
if [ "$1" = configure ]; then
|
||||
if [ -f /etc/ipa/nssdb/cert8.db ]; then
|
||||
python2 -c 'from ipaclient.install.client import update_ipa_nssdb; update_ipa_nssdb()' \
|
||||
> $LOGFILE 2>&1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -e /run/ipa ]; then
|
||||
mkdir -m 0700 /run/ipa
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
Reference in New Issue
Block a user