From 6411872e9d9649a2a32ea123447051294b044f89 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 7 Jun 2021 16:56:26 +0200 Subject: [PATCH] Fix --- .travis.yml | 7 ------- check_process | 14 ++++---------- manifest.json | 18 +----------------- scripts/install | 1 - 4 files changed, 5 insertions(+), 35 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d9f1363..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: node_js - -before_install: - - git clone https://github.com/YunoHost/package_linter /tmp/package_linter - -script: - - /tmp/package_linter/package_linter.py ./ diff --git a/check_process b/check_process index c571085..d370e8a 100644 --- a/check_process +++ b/check_process @@ -1,17 +1,11 @@ -# See here for more information -# https://github.com/YunoHost/package_check#syntax-check_process-file - -# Move this file from check_process.default to check_process when you have filled it. - ;; Test complet ; Manifest - domain="domain.tld" (DOMAIN) - path="/path" (PATH) - admin="john" (USER) + domain="domain.tld" + path="/path" + admin="john" language="fr" - is_public=1 (PUBLIC|public=1|private=0) + is_public=1 password="pass" - port="666" (PORT) ; Checks pkg_linter=1 setup_sub_dir=1 diff --git a/manifest.json b/manifest.json index c1b66ab..b499c79 100644 --- a/manifest.json +++ b/manifest.json @@ -19,45 +19,29 @@ "nginx" ], "requirements": { - "yunohost": ">> 4.1.7" + "yunohost": ">> 4.2.4" }, "arguments": { "install" : [ { "name": "domain", "type": "domain", - "ask": { - "en": "Choose a domain for RocketChat", - "fr": "Choose a domain for RocketChat" - }, "example": "domain.org" }, { "name": "path", "type": "path", - "ask": { - "en": "Choose a path for RocketChat", - "fr": "Choose a path for RocketChat" - }, "example": "/rocketchat", "default": "/rocketchat" }, { "name": "is_public", "type": "boolean", - "ask": { - "en": "Is it a public application?", - "fr": "Is it a public application ?" - }, "default": true }, { "name": "language", "type": "string", - "ask": { - "en": "Select default language", - "fr": "Select default language" - }, "choices": ["English"], "default": "English" } diff --git a/scripts/install b/scripts/install index 97216d5..ec54901 100644 --- a/scripts/install +++ b/scripts/install @@ -139,7 +139,6 @@ popd || ynh_die ynh_script_progression --message="Configuring a systemd service..." --weight=1 ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service" -ynh_replace_string --match_string="__YNH_NPM__" --replace_string="$ynh_npm" --target_file="../conf/systemd.service" ynh_add_systemd_config