1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Peertube 4.2.0 migration script

This commit is contained in:
yalh76 2022-06-10 00:45:32 +02:00
parent 57f9c93279
commit cc362656f4

View file

@ -313,6 +313,13 @@ if ynh_compare_current_package_version --comparison lt --version 4.0.0~ynh1; the
popd popd
fi fi
if ynh_compare_current_package_version --comparison lt --version 4.2.0~ynh1; then
ynh_script_progression --message="Running Peertube 4.2.0 migration script..."
pushd "$final_path"
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production $ynh_node dist/scripts/migrations/peertube-4.2.js
popd
fi
#================================================= #=================================================
# STOP SYSTEMD SERVICE # STOP SYSTEMD SERVICE
#================================================= #=================================================