From 372469fef225f51ba7a5e4a21daa7030bc63cee7 Mon Sep 17 00:00:00 2001 From: Limezy Date: Wed, 10 Nov 2021 00:21:32 +0700 Subject: [PATCH] Updates --- manifest.json | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 8e72016..fed7459 100644 --- a/manifest.json +++ b/manifest.json @@ -61,7 +61,7 @@ { "name": "minio_domain", "type": "domain", - "ask": "Is MinIO app already installed ?\nIf yes, you can leave that field blank.\nIf not please give a domain that can be used for MinIO installation.\nPlease note that MinIO has to be installed at the root of that domain : no other apps can be installed on that domain" + "ask": "Domain for MinIO app.\nIf MinIO is not yet installed, outline will automatically install it for you.\nPlease note that MinIO has to be installed at the root of that domain : no other apps can be installed on that domain" } ] } diff --git a/scripts/install b/scripts/install index 77985e5..c144ccf 100755 --- a/scripts/install +++ b/scripts/install @@ -54,6 +54,7 @@ ynh_script_progression --message="Installing MinIO if needed..." --time --weight if ! ynh_package_is_installed --package="minio"; then yunohost tools update yunohost app install minio --force --args "domain=$YNH_APP_ARG_MINIO_DOMAIN&is_public=true&language=en" +fi minio_domain=$(ynh_app_setting_get --app="minio" --key=domain) minio_id=$(ynh_app_setting_get --app="minio" --key=minio_id)