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 2021-01-15 11:12:39 +01:00
parent 378e7f7320
commit 672eadf72b
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 5 additions and 5 deletions

View file

@ -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": {

View file

@ -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

View file

@ -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

View file

@ -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