mirror of
https://github.com/YunoHost-Apps/peertube_ynh.git
synced 2024-09-03 19:56:29 +02:00
Update upgrade
This commit is contained in:
parent
c0dcccaaf6
commit
806a4087e6
1 changed files with 7 additions and 0 deletions
|
@ -169,6 +169,13 @@ if ynh_compare_current_package_version --comparison lt --version 4.2.0~ynh1; the
|
|||
popd
|
||||
fi
|
||||
|
||||
if ynh_compare_current_package_version --comparison lt --version 5.0.0~ynh1; then
|
||||
ynh_script_progression --message="Running Peertube 5.0.0 migration script..."
|
||||
pushd "$install_dir"
|
||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$install_dir/config" NODE_ENV=production $ynh_node dist/scripts/migrations/peertube-5.0.js
|
||||
popd
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue