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:
parent
d4375be93f
commit
0e570c97c3
2 changed files with 2 additions and 5 deletions
|
@ -218,11 +218,6 @@ popd
|
|||
#=================================================
|
||||
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"
|
||||
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
|
||||
|
|
|
@ -219,6 +219,8 @@ ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ st
|
|||
if ! yunohost app list | grep -q "prosody"
|
||||
then
|
||||
yunohost app install prosody --args "domain=$domain&admin=$admin&language=$language&password=$password"
|
||||
elfi
|
||||
yunohost app upgrade
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue