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
378e7f7320
commit
672eadf72b
4 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
||||||
"en": "Online editor providing collaborative editing in real-time.",
|
"en": "Online editor providing collaborative editing in real-time.",
|
||||||
"fr": "Éditeur en ligne fournissant l'édition collaborative en temps réel."
|
"fr": "Éditeur en ligne fournissant l'édition collaborative en temps réel."
|
||||||
},
|
},
|
||||||
"version": "1.8.7~ynh1",
|
"version": "1.8.7~ynh2",
|
||||||
"url": "https://etherpad.org/",
|
"url": "https://etherpad.org/",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# dependencies used by the app
|
# dependencies used by the app
|
||||||
pkg_dependencies="postgresql postgresql-contrib apt-transport-https"
|
pkg_dependencies="postgresql postgresql-contrib apt-transport-https"
|
||||||
|
|
||||||
nodejs_version=12
|
nodejs_version=14
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
|
@ -119,7 +119,7 @@ ynh_script_progression --message="Installing Etherpad..." --weight=60
|
||||||
|
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
|
|
||||||
pushd "$final_path" || ynh_die
|
pushd $final_path || ynh_die
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_as $app env "$ynh_node_load_PATH" bin/installDeps.sh
|
ynh_exec_as $app env "$ynh_node_load_PATH" bin/installDeps.sh
|
||||||
popd || ynh_die
|
popd || ynh_die
|
||||||
|
|
|
@ -71,7 +71,7 @@ ynh_abort_if_errors
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Stopping a systemd service..." --weight=42
|
ynh_script_progression --message="Stopping a systemd service..." --weight=42
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
|
ynh_systemd_action --service_name=$app --action=stop --log_path="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
@ -117,7 +117,7 @@ ynh_script_progression --message="Installing Etherpad..." --weight=90
|
||||||
|
|
||||||
chown -R $app: $final_path
|
chown -R $app: $final_path
|
||||||
|
|
||||||
pushd "$final_path" || ynh_die
|
pushd $final_path || ynh_die
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh
|
ynh_exec_as $app env $ynh_node_load_PATH bin/installDeps.sh
|
||||||
popd || ynh_die
|
popd || ynh_die
|
||||||
|
|
Loading…
Add table
Reference in a new issue