diff --git a/scripts/install b/scripts/install index 1c52c86..8c7864f 100644 --- a/scripts/install +++ b/scripts/install @@ -151,7 +151,7 @@ if [ "$export" = "abiword" ] then # Get AbiWord binary path abiword_path=`which abiword` - # Set the path of abiword into Etherpad config + # Set the path of AbiWord into Etherpad config ynh_replace_string --match_string="\"abiword\" : null" --replace_string="\"abiword\" : \"$abiword_path\"" --target_file="$final_path/settings.json" elif [ "$export" = "libreoffice" ] then @@ -199,7 +199,7 @@ ynh_add_systemd_config --others_var="ynh_node_load_PATH" #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=3 -yunohost service add $app --description="Collaborative editor." --log="/var/log/$app/$app.log" +yunohost service add $app --description="Collaborative editor" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE diff --git a/scripts/restore b/scripts/restore index c5d61f3..0644364 100644 --- a/scripts/restore +++ b/scripts/restore @@ -106,7 +106,7 @@ chmod 600 $final_path/credentials.json #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=3 -yunohost service add $app --description="Collaborative editor." --log="/var/log/$app/$app.log" +yunohost service add $app --description="Collaborative editor" --log="/var/log/$app/$app.log" #================================================= # RESTORE SYSTEMD diff --git a/scripts/upgrade b/scripts/upgrade index a666caf..7a2eeb6 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -90,7 +90,7 @@ ynh_maintenance_mode_ON #================================================= 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 @@ -140,19 +140,6 @@ pushd "$final_path" || ynh_die ynh_use_nodejs 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_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 - - -# # npm outdated --depth=0 | grep -v "^Package" | awk '{print $1}' | xargs npm install $1 --save-dev -# OUTDATED=$(npm outdated --depth=0 | grep -v "^Package" | awk '{print $1}') -# # echo $OUTDATED -# if test -n "$OUTDATED"; then -# echo "Plugins require update, doing this now..." -# echo "Updating $OUTDATED" -# npm install $OUTDATED --save-dev -# else -# echo "Plugins are all up to date" -# fi - popd || ynh_die #================================================= @@ -195,7 +182,7 @@ ynh_add_systemd_config --others_var="ynh_node_load_PATH" #================================================= ynh_script_progression --message="Integrating service in YunoHost..." --weight=2 -yunohost service add $app --description="Collaborative editor." --log="/var/log/$app/$app.log" +yunohost service add $app --description="Collaborative editor" --log="/var/log/$app/$app.log" #================================================= # START SYSTEMD SERVICE