From e7ec4bfd6db88df0a6652a2793658882bba92441 Mon Sep 17 00:00:00 2001 From: Limezy Date: Fri, 17 Feb 2023 00:38:36 +0700 Subject: [PATCH] Still wrong... --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index a39a125..7a9df8d 100755 --- a/scripts/install +++ b/scripts/install @@ -200,7 +200,7 @@ chown minio:www-data "$mc_path/policy.json" 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 admin policy add minio outline ./policy.json - ynh_exec_warn_less sudo -u minio ./mc admin policy set minio/outlinestorage outline + ynh_exec_warn_less sudo -u minio ./mc admin policy set minio outline popd #================================================= diff --git a/scripts/restore b/scripts/restore index 4d1e0a3..9350a0d 100755 --- a/scripts/restore +++ b/scripts/restore @@ -129,7 +129,7 @@ chown minio:www-data "$mc_path/policy.json" 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 admin policy add minio outline ./policy.json - ynh_exec_warn_less sudo -u minio ./mc admin policy set minio/outlinestorage outline + ynh_exec_warn_less sudo -u minio ./mc admin policy set minio outline popd ynh_secure_remove --file="$mc_path/outlinestorage" diff --git a/scripts/upgrade b/scripts/upgrade index da115ac..c1a4101 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -105,7 +105,7 @@ chown minio:www-data "$mc_path/policy.json" pushd "$mc_path" ynh_exec_warn_less sudo -u minio ./mc admin policy add minio outline ./policy.json - ynh_exec_warn_less sudo -u minio ./mc admin policy set minio/outlinestorage outline + ynh_exec_warn_less sudo -u minio ./mc admin policy set minio outline popd #=================================================