mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
freeipa-client.postinst: Fix bashism with echo. (Closes: #772242)
This commit is contained in:
1
debian/changelog
vendored
1
debian/changelog
vendored
@@ -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
|
||||
|
||||
|
||||
2
debian/freeipa-client.postinst
vendored
2
debian/freeipa-client.postinst
vendored
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user