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/^# //; \