1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/etherpad_ynh.git synced 2024-09-03 18:36:10 +02:00
This commit is contained in:
ericgaspar 2020-12-24 15:59:39 +01:00
parent d40eabccdf
commit 4d5c3434d0
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 6 additions and 9 deletions

View file

@ -124,9 +124,8 @@ chown -R $app: $final_path
pushd "$final_path" || ynh_die
ynh_use_nodejs
ynh_exec_as $app env "$ynh_node_load_PATH" bin/run.sh
# ynh_exec_as $app env "$ynh_node_load_PATH" bin/installDeps.sh
ynh_exec_as $app env "$ynh_node_load_PATH" bin/installDeps.sh
ynh_exec_warn_less ynh_exec_as $app env "$ynh_node_load_PATH" npm install ep_automatic_logut 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 ep_embedded_hyperlinks2
popd || ynh_die
#=================================================

View file

@ -84,7 +84,6 @@ then
# Download, check integrity, uncompress and patch the source from app.src
pushd "$final_path"
git pull origin
ynh_exec_as $app env "$ynh_node_load_PATH" bin/run.sh
popd
fi
@ -118,12 +117,11 @@ ynh_system_user_create --username=$app
# #=================================================
# 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 bin/installDeps.sh
# popd || ynh_die
pushd "$final_path"
ynh_exec_as $app env "$ynh_node_load_PATH" bin/installDeps.sh
popd
#=================================================
# MODIFY A CONFIG FILE