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

Improving prosody

This commit is contained in:
yalh76 2022-02-03 21:18:56 +01:00
parent d4375be93f
commit 0e570c97c3
2 changed files with 2 additions and 5 deletions

View file

@ -218,11 +218,6 @@ popd
#================================================= #=================================================
ynh_script_progression --message="Installing PeerTube livechat plugin..." ynh_script_progression --message="Installing PeerTube livechat plugin..."
if ! yunohost app list | grep -q "prosody"
then
yunohost app install prosody --args "domain=$domain&admin=$admin&language=$language&password=$password"
fi
pushd "$final_path" 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_npm run plugin:install -- --npm-name peertube-plugin-livechat ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production $ynh_npm run plugin:install -- --npm-name peertube-plugin-livechat
popd popd

View file

@ -219,6 +219,8 @@ ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ st
if ! yunohost app list | grep -q "prosody" if ! yunohost app list | grep -q "prosody"
then then
yunohost app install prosody --args "domain=$domain&admin=$admin&language=$language&password=$password" yunohost app install prosody --args "domain=$domain&admin=$admin&language=$language&password=$password"
elfi
yunohost app upgrade
fi fi
#================================================= #=================================================