postinst: then and not the ...
This commit is contained in:
parent
0630b07467
commit
ed41a84ad7
2
postinst
2
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
|
||||
|
|
Reference in New Issue