From 788df7fdaf5f9073ef135528394c0056e9d641a7 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 25 Sep 2021 11:05:01 +0200 Subject: [PATCH] Cleaning up --- check_process | 6 +++--- manifest.json | 8 +++----- pull_request.md | 16 ---------------- scripts/restore | 2 -- 4 files changed, 6 insertions(+), 26 deletions(-) delete mode 100644 pull_request.md diff --git a/check_process b/check_process index 6f90fdb..684c851 100644 --- a/check_process +++ b/check_process @@ -1,8 +1,8 @@ ;; Test complet ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - admin="john" (USER) + domain="domain.tld" + path="/path" + admin="john" ; Checks pkg_linter=1 setup_sub_dir=1 diff --git a/manifest.json b/manifest.json index dd74493..2f2f80a 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ "url": "https://github.com/mastereur" }, "requirements": { - "yunohost": ">= 4.0.0" + "yunohost": ">= 4.2.4" }, "multi_instance": true, "services": [ @@ -30,8 +30,7 @@ "ask": { "en": "Choose a domain name for Dolibarr", "fr": "Choisissez un nom de domaine pour Dolibarr" - }, - "example": "example.com" + } }, { "name": "path", @@ -49,8 +48,7 @@ "ask": { "en": "Choose an admin user", "fr": "Choisissez l’administrateur" - }, - "example": "johndoe" + } } ] } diff --git a/pull_request.md b/pull_request.md deleted file mode 100644 index 6c28fc5..0000000 --- a/pull_request.md +++ /dev/null @@ -1,16 +0,0 @@ -## Problem -- *Description of why you made this PR* - -## Solution -- *And how do you fix that problem* - -## PR Status -- [ ] Code finished. -- [ ] Tested with Package_check. -- [ ] Fix or enhancement tested. -- [ ] Upgrade from last version tested. -- [ ] Can be reviewed and tested. - -## Package_check results ---- -* 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/restore b/scripts/restore index ddbcea2..c7ddd28 100755 --- a/scripts/restore +++ b/scripts/restore @@ -40,8 +40,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path "