Skip to content

Commit 8520b20

Browse files
committed
Update to account for newer mc version
Signed-off-by: Anastassios Nanos <[email protected]>
1 parent 5974d33 commit 8520b20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ ok_or_die "Could not upload object"
4646
if [[ $# -eq 6 ]] ; then
4747
if [[ $6 -eq 1 ]] ; then
4848
info "Will make $remote_path public"
49-
mc policy -r set download s3/$remote_path
49+
mc anonymous -r set download s3/$remote_path
5050
else
5151
info "Will make $remote_path private"
52-
mc policy -r set none s3/$remote_path || true
52+
mc anonymous -r set private s3/$remote_path || true
5353
fi
5454
fi

0 commit comments

Comments
 (0)