From ed41a84ad7987ce828c0811a06714cc9c8ee897b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Schneider?= Date: Wed, 4 Jun 2014 10:34:59 +0200 Subject: [PATCH] postinst: then and not the ... --- postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postinst b/postinst index 3a705fe..3d1b1cf 100644 --- a/postinst +++ b/postinst @@ -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