fix the postinstall with double quotes

This commit is contained in:
Kayou 2021-02-02 11:10:52 +01:00 committed by GitHub
parent 6500ac01ae
commit ce1045a26a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ regen_local_ca() {
rm -f index.txt
touch index.txt
cp /usr/share/yunohost/templates/ssl/openssl.cnf openssl.ca.cnf
sed -i 's/yunohost.org/${domain}/g' openssl.ca.cnf
sed -i "s/yunohost.org/${domain}/g" openssl.ca.cnf
openssl req -x509 \
-new \
-config openssl.ca.cnf \