1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/outline_ynh.git synced 2024-09-03 19:56:12 +02:00
This commit is contained in:
Limezy 2021-11-10 00:21:32 +07:00
parent 9d8bd24b1e
commit 372469fef2
2 changed files with 2 additions and 1 deletions

View file

@ -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"
}
]
}

View file

@ -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)