diff --git a/charts/premium/nextcloud/Chart.yaml b/charts/premium/nextcloud/Chart.yaml index 1834324739b..659e4afb14b 100644 --- a/charts/premium/nextcloud/Chart.yaml +++ b/charts/premium/nextcloud/Chart.yaml @@ -49,4 +49,4 @@ sources: - https://hub.docker.com/r/collabora/code - https://hub.docker.com/r/nginxinc/nginx-unprivileged type: application -version: 32.2.11 +version: 32.2.12 diff --git a/charts/premium/nextcloud/templates/_initPerms.tpl b/charts/premium/nextcloud/templates/_initPerms.tpl index d4211675c78..b6242c8a2e9 100644 --- a/charts/premium/nextcloud/templates/_initPerms.tpl +++ b/charts/premium/nextcloud/templates/_initPerms.tpl @@ -22,10 +22,10 @@ args: - -c - | echo "Setting permissions to 700 on data directory [{{ $path }}] ..." - chmod 770 {{ $path }} | echo "Failed to set permissions on data directory [{{ $path }}]" + chmod 770 {{ $path }} || echo "Failed to set permissions on data directory [{{ $path }}]" echo "Setting ownership to {{ $uid }}:{{ $gid }} on data directory [{{ $path }}] ..." - chown {{ $uid }}:{{ $gid }} {{ $path }} | echo "Failed to set ownership on data directory [{{ $path }}]" + chown {{ $uid }}:{{ $gid }} {{ $path }} || echo "Failed to set ownership on data directory [{{ $path }}]" echo "Finished." {{- end -}}