From 8b84a0fb8a4891f7e3cf8e94cbcd1c02ab717b15 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 16 Oct 2023 10:32:43 +0200 Subject: [PATCH] Update 02-init_steps.sh --- nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh index 263fc006386..ab78a48e73e 100755 --- a/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh +++ b/nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh @@ -124,7 +124,7 @@ timeout 10 sudo -u abc php /app/www/public/occ config:system:set check_data_dire for variable in env_memory_limit env_upload_max_filesize env_post_max_size; do if bashio::config.has_value "$variable"; then variable="${variable#env_}" - sed -i "/$variable/c $variable = (bashio::config env_$variable)" /etc/php*/conf.d/nextcloud.ini - sed -i "/$variable/c $variable = (bashio::config env_$variable)" /etc/php*/php.ini + sed -i "/$variable/c $variable = $(bashio::config env_$variable)" /etc/php*/conf.d/nextcloud.ini + sed -i "/$variable/c $variable = $(bashio::config env_$variable)" /etc/php*/php.ini fi done