mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
fix web_push.gen.keypair
This commit is contained in:
parent
68bc88e86c
commit
06abff348e
2 changed files with 2 additions and 2 deletions
|
@ -263,7 +263,7 @@ chown -R "$app":"$app" "$final_path"
|
||||||
|
|
||||||
pushd $final_path/$app
|
pushd $final_path/$app
|
||||||
#Generate key pair
|
#Generate key pair
|
||||||
sudo -u "$app" MIX_ENV=prod mix web_push.gen.keypair >> "config/prod.secret.web_push.exs"
|
sudo -u "$app" mix web_push.gen.keypair >> "config/prod.secret.web_push.exs"
|
||||||
ynh_replace_string "administrator@example.com" "$admin_email" "$final_path/$app/config/prod.secret.web_push.exs"
|
ynh_replace_string "administrator@example.com" "$admin_email" "$final_path/$app/config/prod.secret.web_push.exs"
|
||||||
|
|
||||||
# App setup and db migration
|
# App setup and db migration
|
||||||
|
|
|
@ -210,7 +210,7 @@ pushd $final_path/$app
|
||||||
if [ ! -f "$final_path/$app/config/prod.secret.web_push.exs" ]
|
if [ ! -f "$final_path/$app/config/prod.secret.web_push.exs" ]
|
||||||
then
|
then
|
||||||
#Generate key pair
|
#Generate key pair
|
||||||
sudo -u "$app" MIX_ENV=prod mix web_push.gen.keypair >> "config/prod.secret.web_push.exs"
|
sudo -u "$app" mix web_push.gen.keypair >> "config/prod.secret.web_push.exs"
|
||||||
ynh_replace_string "administrator@example.com" "$admin_email" "$final_path/$app/config/prod.secret.web_push.exs"
|
ynh_replace_string "administrator@example.com" "$admin_email" "$final_path/$app/config/prod.secret.web_push.exs"
|
||||||
fi
|
fi
|
||||||
sudo -u "$app" MIX_ENV=prod mix deps.get
|
sudo -u "$app" MIX_ENV=prod mix deps.get
|
||||||
|
|
Loading…
Add table
Reference in a new issue