From 916c2111a6fc5a19985408849e87efebbd81329d Mon Sep 17 00:00:00 2001 From: Limezy Date: Thu, 18 Nov 2021 01:09:03 +0700 Subject: [PATCH] Tests --- check_process | 8 ++++---- scripts/install | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/check_process b/check_process index e708233..b4d056a 100644 --- a/check_process +++ b/check_process @@ -11,14 +11,14 @@ minio_domain="sub.domain.tld" ; Checks pkg_linter=1 - setup_sub_dir=0 + setup_sub_dir=1 setup_root=1 setup_nourl=0 - setup_private=0 + setup_private=1 setup_public=1 - upgrade=0 + upgrade=1 #upgrade=1 from_commit=CommitHash - backup_restore=0 + backup_restore=1 multi_instance=0 change_url=0 ;;; Options diff --git a/scripts/install b/scripts/install index 44e6224..ce0176f 100755 --- a/scripts/install +++ b/scripts/install @@ -156,7 +156,7 @@ chown -R $app:www-data "$final_path" #================================================= ynh_script_progression --message="Setting up MinIO bucket for Outline..." --weight=1 -if $minio_domain != "sub.domain.tld"; then +if $YNH_APP_ARG_MINIO_DOMAIN != "sub.domain.tld"; then pushd "$mc_path" ynh_exec_warn_less sudo -u minio ./mc mb minio/outlinestorage --region "fr-ynh-1" ynh_exec_warn_less sudo -u minio ./mc policy set public minio/outlinestorage