diff --git a/manifest.json b/manifest.json index 7f318cf..6ed9735 100644 --- a/manifest.json +++ b/manifest.json @@ -18,7 +18,7 @@ "email": "maniackc_dev@crudelis.fr" }], "requirements": { - "yunohost": ">= 4.1.7" + "yunohost": ">= 4.2.4" }, "multi_instance": true, "services": [ diff --git a/scripts/config b/scripts/config index 1fc45da..58e84d5 100644 --- a/scripts/config +++ b/scripts/config @@ -8,7 +8,6 @@ # Load common variables for all scripts. source _variables - source _common.sh source /usr/share/yunohost/helpers diff --git a/scripts/install b/scripts/install index e36a011..c9ed326 100644 --- a/scripts/install +++ b/scripts/install @@ -220,7 +220,7 @@ chmod 600 $final_path/credentials.json ynh_script_progression --message="Configuring a systemd service..." --weight=4 # Create a dedicated systemd config -ynh_add_systemd_config --others_var="ynh_node_load_PATH" +ynh_add_systemd_config #================================================= # ADVERTISE SERVICE IN ADMIN PANEL @@ -278,10 +278,7 @@ then ynh_replace_string --match_string="^ *\"FOOTER\": .*2.0" --replace_string="& | Etherpad admin" --target_file=$final_path/node_modules/ep_mypads/static/l10n/en.json ynh_replace_string --match_string="^ *\"FOOTER\": .*2.0" --replace_string="& | Etherpad admin" --target_file=$final_path/node_modules/ep_mypads/static/l10n/fr.json - ## Find the /div just after the field to open a pad - #mod_line=$(grep -nA5 "index.createOpenPad" $final_path/src/templates/index.html | grep "" | cut -d '-' -f 1) - ## In order to add a link to MyPads plugin. - #sed -i "$mod_line s@div>@&\n\t