From 1a721e3232ca7b68500b1bc124d42f9587f785b7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 18 Jun 2016 13:31:22 +0100 Subject: [PATCH] Fix sed --- src/freedombone | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone b/src/freedombone index 7fb39bd0..5f087c9b 100755 --- a/src/freedombone +++ b/src/freedombone @@ -9989,7 +9989,7 @@ function install_media_server { fi # database authentication - sed -i "sqlalchemy.url = mysql://mediadrop:${MEDIA_SERVER_ADMIN_PASSWORD}@localhost/mediadrop?charset=utf8&use_unicode=0" deployment.ini + sed -i "s|sqlalchemy.url.*|sqlalchemy.url = mysql://mediadrop:${MEDIA_SERVER_ADMIN_PASSWORD}@localhost/mediadrop?charset=utf8&use_unicode=0|g" deployment.ini # faster file serve sed -i 's|files_serve_method.*|files_serve_method = nginx_redirect|g' deployment.ini