freeipa-client.postinst: Fix bashism with echo. (Closes: #772242)

This commit is contained in:
Timo Aaltonen
2015-03-04 12:27:33 +02:00
parent d80f5e3046
commit a935b07a70
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@@ -3,6 +3,7 @@ freeipa (4.0.5-3) UNRELEASED; urgency=medium
* rules: Set JAVA_STACK_SIZE to hopefully avoid FTBFS on exotic archs.
* freeipa-client.postrm: Remove nssdb files on purge. (Closes:
#775387)
* freeipa-client.postinst: Fix bashism with echo. (Closes: #772242)
-- Timo Aaltonen <tjaalton@debian.org> Wed, 04 Mar 2015 12:11:12 +0200

View File

@@ -4,7 +4,7 @@ set -e
if [ "$1" = configure ]; then
if [ ! -e /etc/pki/nssdb ]; then
tmp=$(mktemp) || exit
echo "\n" > $tmp
printf "\n" > $tmp
mkdir -p /etc/pki/nssdb
certutil -N -d /etc/pki/nssdb -f $tmp
chmod 644 /etc/pki/nssdb/*