1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00

Merge branch 'version-0.2' into 0.2

This commit is contained in:
Éric Gaspar 2021-01-10 10:02:08 +01:00 committed by GitHub
commit 3525cde9e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,6 +82,7 @@ then
ynh_secure_remove --file="$final_path"
mkdir -p $final_path
cp -R ../sources_2/* $final_path/
# Copy the admin saved settings from tmp directory to final path
@ -94,8 +95,8 @@ then
pushd "$final_path"
ynh_exec_warn_less openssl req -newkey rsa:2048 -nodes -keyout data/key.pem -x509 -days 365 -out data/cert.pem \
-subj "/C=/ST=/L=/O=/OU=/CN=/emailAddress="
chmod 640 data/{key.pem,cert.pem}
popd
chmod 640 data/{key.pem,cert.pem}
popd
fi
#=================================================