From 40bd7dc36633ea4fcf3df5e9aec0c743e3f7fd19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Mon, 16 Feb 2026 11:46:37 +0100 Subject: [PATCH] Fix sed command for DB_FILE configuration (#11988) --- install/tududi-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/tududi-install.sh b/install/tududi-install.sh index de630ec4f..851570b3c 100644 --- a/install/tududi-install.sh +++ b/install/tududi-install.sh @@ -38,8 +38,8 @@ SECRET="$(openssl rand -hex 64)" sed -e '/^NODE_ENV=/s/=.*$/=production/' \ -e 's/^TUDUDI_USER/# TUDUDI_USER/g' \ -e "/_SECRET=/s/=.*$/=${SECRET}/" \ - -e "/^# DB_FILE/s/^# //; \ - \|DB_FILE|s|/path.*$|${DB_LOCATION}/production.sqlite3|" \ + -e '/^# DB_FILE=/s/^# //' \ + -e "s|^DB_FILE=.*|DB_FILE=${DB_LOCATION}/production.sqlite3|" \ -e "/^# TUDUDI_ALLOWED/s/^# //; \ \|_ORIGINS=|s|=.*$|=|" \ -e "/^# TUDUDI_UPLOAD/s/^# //; \