From 4939f18c26cb631a2a170ec7719492a4ab8fce2d Mon Sep 17 00:00:00 2001 From: samuel Date: Thu, 25 Jun 2026 16:28:41 +0200 Subject: [PATCH] fix: replace php config var in config file --- netoik-cloud.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/netoik-cloud.spec b/netoik-cloud.spec index e37b01e..095e925 100644 --- a/netoik-cloud.spec +++ b/netoik-cloud.spec @@ -36,6 +36,7 @@ if ! -f %{_sysconfdir}/nextcloud/config.php; then export INSTANCE_ID=$(openssl rand -hex 16) export PASSWORD_SALT=$(openssl rand -hex 16) export SECRET=$(openssl rand -hex 16) + export CONFIG='$CONFIG' envsubst < %{_sysconfdir}/nextcloud/config.php.tpl > %{_sysconfdir}/nextcloud/config.php chown root:nextcloud %{_sysconfdir}/nextcloud/config.php chmod 640 %{_sysconfdir}/nextcloud/config.php