summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Schneider <jschneider@entrouvert.com>2014-06-04 08:34:59 (GMT)
committerJérôme Schneider <jschneider@entrouvert.com>2014-06-04 08:34:59 (GMT)
commited41a84ad7987ce828c0811a06714cc9c8ee897b (patch)
tree57f7a9ce7512c6b83bc6809d73a142b5ede9889a
parent0630b07467af2665debac310624d7e6a91f1097e (diff)
downloadmandaye-meyzieu-ed41a84ad7987ce828c0811a06714cc9c8ee897b.zip
mandaye-meyzieu-ed41a84ad7987ce828c0811a06714cc9c8ee897b.tar.gz
mandaye-meyzieu-ed41a84ad7987ce828c0811a06714cc9c8ee897b.tar.bz2
postinst: then and not the ...
-rw-r--r--postinst2
1 files changed, 1 insertions, 1 deletions
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