mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
Git
This commit is contained in:
parent
d40eabccdf
commit
4d5c3434d0
2 changed files with 6 additions and 9 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue