mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
Fix
This commit is contained in:
parent
58ea7f9fed
commit
6027579c8c
2 changed files with 3 additions and 3 deletions
|
@ -120,11 +120,11 @@ ynh_add_nginx_config
|
|||
# #=================================================
|
||||
# ynh_script_progression --message="Installing Etherpad..." --weight=90
|
||||
|
||||
chown -R $app: $final_path
|
||||
chown -R $app $final_path
|
||||
|
||||
pushd "$final_path" || ynh_die
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app env "$ynh_node_load_PATH" src/bin/run.sh
|
||||
ynh_exec_as $app env "$ynh_node_load_PATH" src/bin/installDeps.sh
|
||||
#ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm install ep_automatic_logut ep_countable ep_spellcheck ep_delete_empty_pads ep_subscript_and_superscript ep_headings2 ep_author_hover ep_markdown ep_comments_page ep_align ep_font_color
|
||||
popd || ynh_die
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ then
|
|||
pushd "$final_path"
|
||||
git pull origin
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app env "$ynh_node_load_PATH" src/bin/run.sh
|
||||
ynh_exec_as $app env "$ynh_node_load_PATH" src/bin/installDeps.sh
|
||||
popd
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue