diff --git a/library/ix-dev/charts/nextcloud/Chart.yaml b/library/ix-dev/charts/nextcloud/Chart.yaml index de71129598..e6df62ceb8 100644 --- a/library/ix-dev/charts/nextcloud/Chart.yaml +++ b/library/ix-dev/charts/nextcloud/Chart.yaml @@ -4,7 +4,7 @@ description: A file sharing server that puts the control and security of your ow annotations: title: Nextcloud type: application -version: 2.0.11 +version: 2.0.12 apiVersion: v2 appVersion: 29.0.4 kubeVersion: '>=1.16.0-0' diff --git a/library/ix-dev/charts/nextcloud/templates/_nextcloud-configs.tpl b/library/ix-dev/charts/nextcloud/templates/_nextcloud-configs.tpl index c32ccfa7fa..ea31570ad7 100644 --- a/library/ix-dev/charts/nextcloud/templates/_nextcloud-configs.tpl +++ b/library/ix-dev/charts/nextcloud/templates/_nextcloud-configs.tpl @@ -26,9 +26,9 @@ configmap: fi run_as() { if [ "$(id -u)" = 0 ]; then - su -p "$user" -s /bin/bash -c 'php /var/www/html/occ "$@"' - "$@" + su -p "$user" -s /bin/bash -c "php /var/www/html/occ $(printf '%q ' "$@")" else - /bin/bash -c 'php /var/www/html/occ "$@"' - "$@" + /bin/bash -c "php /var/www/html/occ $(printf '%q ' "$@")" fi } run_as "$@"