From a0d99466f5f8c1721467faedc82c985fd92972e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 26 Jan 2021 09:57:59 +0100 Subject: [PATCH] Testing (#11) * Small fixes --- README.md | 6 +++--- README_fr.md | 6 +++--- check_process | 2 +- pull_request_template.md | 4 +--- scripts/install | 8 ++++---- 5 files changed, 12 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 618fbc6..2b7f9d4 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# 20euros for YunoHost +# 20 Euros for YunoHost [![Integration level](https://dash.yunohost.org/integration/20euros.svg)](https://dash.yunohost.org/appci/app/20euros) ![](https://ci-apps.yunohost.org/ci/badges/20euros.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/20euros.maintain.svg) -[![Install 20euros with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=20euros) +[![Install 20 Euros with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=20euros) *[Lire ce readme en français.](./README_fr.md)* -> *This package allow you to install 20euros quickly and simply on a YunoHost server. +> *This package allow you to install 20 Euros quickly and simply on a YunoHost server. If you don’t have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.* ## Overview diff --git a/README_fr.md b/README_fr.md index eb37dc9..c210f72 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,11 +1,11 @@ -# 20euros pour YunoHost +# 20 Euros pour YunoHost [![Integration level](https://dash.yunohost.org/integration/20euros.svg)](https://dash.yunohost.org/appci/app/20euros) ![](https://ci-apps.yunohost.org/ci/badges/20euros.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/20euros.maintain.svg) -[![Installer 20euros avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=20euros) +[![Installer 20 Euros avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=20euros) *[Read this readme in english.](./README.md)* -> *Ce package vous permet d’installer 20euros rapidement et simplement sur un serveur YunoHost. +> *Ce package vous permet d’installer 20 Euros rapidement et simplement sur un serveur YunoHost. Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* ## Vue d’ensemble diff --git a/check_process b/check_process index 57f68c1..9cc42ce 100644 --- a/check_process +++ b/check_process @@ -15,4 +15,4 @@ backup_restore=1 multi_instance=1 port_already_use=0 - change_url=1 \ No newline at end of file + change_url=1 diff --git a/pull_request_template.md b/pull_request_template.md index d3801b8..6c28fc5 100644 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -13,6 +13,4 @@ ## Package_check results --- -*If you have access to [App Continuous Integration for packagers](https://yunohost.org/#/packaging_apps_ci) you can provide a link to the package_check results like below, replacing '-NUM-' in this link by the PR number and USERNAME by your username on the ci-apps-dev. Or you provide a screenshot or a pastebin of the results* - -[![Build Status](https://ci-apps-dev.yunohost.org/jenkins/job/20euros_ynh%20PR-NUM-%20(USERNAME)/badge/icon)](https://ci-apps-dev.yunohost.org/jenkins/job/20euros_ynh%20PR-NUM-%20(USERNAME)/) +* An automatic package_check will be launch at https://ci-apps-dev.yunohost.org/, when you add a specific comment to your Pull Request: "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!"* diff --git a/scripts/install b/scripts/install index 2f35d8c..beb9911 100755 --- a/scripts/install +++ b/scripts/install @@ -42,8 +42,8 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url #================================================= ynh_script_progression --message="Storing installation settings..." --weight=2 -ynh_app_setting_set --app=$app --key=domain --value=$domain -ynh_app_setting_set --app=$app --key=path --value=$path_url +ynh_app_setting_set --app=$app --key=domain --value=$domain +ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=is_public --value=$is_public #================================================= @@ -79,10 +79,10 @@ chown -R root: $final_path #================================================= # SETUP SSOWAT #================================================= -ynh_script_progression --message="Configuring SSOwat..." --weight=1 +ynh_script_progression --message="Configuring permissions..." --weight=1 # Make app public if necessary or protect it -[ $is_public -eq 0 ] || ynh_permission_update --permission "main" --add "visitors" +[ $is_public -eq 0 ] || ynh_permission_update --permission="main" --add="visitors" #================================================= # RELOAD NGINX