mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
clean upgrade steps
This commit is contained in:
parent
c91f008273
commit
e026a1d84c
1 changed files with 0 additions and 6 deletions
|
@ -212,14 +212,8 @@ cp -f ../conf/prod.exs "$final_path/$app/config/prod.exs"
|
|||
# Give permission to the final_path
|
||||
chown -R "$app":"$app" "$final_path"
|
||||
pushd $final_path/$app
|
||||
sudo -u "$app" MIX_ENV=prod mix local.hex --force
|
||||
sudo -u "$app" MIX_ENV=prod mix local.rebar --force
|
||||
sudo -u "$app" mix deps.get
|
||||
ynh_psql_execute_as_root \
|
||||
"ALTER USER $app WITH SUPERUSER;"
|
||||
sudo -u "$app" MIX_ENV=prod mix ecto.migrate --force
|
||||
ynh_psql_execute_as_root \
|
||||
"ALTER USER $app WITH NOSUPERUSER;"
|
||||
popd
|
||||
|
||||
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
|
||||
|
|
Loading…
Add table
Reference in a new issue