postinst: then and not the ...

This commit is contained in:
Jérôme Schneider 2014-06-04 10:34:59 +02:00
parent 0630b07467
commit ed41a84ad7
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ case "$1" in
$USER
echo "..done"
fi
if [ ! -f /etc/mandaye-meyzieu/certs/saml.crt -a ! -f /etc/mandaye-meyzieu/certs/saml.key ]; the
if [ ! -f /etc/mandaye-meyzieu/certs/saml.crt -a ! -f /etc/mandaye-meyzieu/certs/saml.key ]; then
echo -n "Generating key material..." >&2
openssl genpkey -algorithm rsa -pkeyopt rsa_keygen_bits:2048 -out /etc/mandaye-meyzieu/certs/saml.key >&2
openssl req -x509 -new -out /etc/mandaye-meyzieu/certs/saml.crt -subj '/CN=whocares' -key /etc/mandaye-meyzieu/certs/saml.key -days 3650 >&2