From 30939200848de4f270f9e58fec3737f84d7c04cb Mon Sep 17 00:00:00 2001 From: Holger Lindemann Date: Sat, 5 Mar 2011 11:16:52 +0100 Subject: [PATCH] =?utf8?q?Passwort=20f=C3=BCr=20DB=20richtig=20einpflegen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- DEBIAN/DEBIAN/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEBIAN/DEBIAN/postinst b/DEBIAN/DEBIAN/postinst index 8a9d974f4..a681b98da 100755 --- a/DEBIAN/DEBIAN/postinst +++ b/DEBIAN/DEBIAN/postinst @@ -82,7 +82,7 @@ set_lx_office_erp_web_admin_password() { ADMINPASSWORD="$RET" cat /etc/lx-office-erp/authentication.pl | \ - sed --expression "s/admin_password = /admin_password = $ADMINPASSWORD/g" \ + sed --expression "s/{admin_password} = /{admin_password} = '$ADMINPASSWORD';#/g" \ > /tmp/1.txt mv /tmp/1.txt /etc/lx-office-erp/authentication.pl @@ -95,7 +95,7 @@ set_lx_office_erp_authentication_db_user_password() { PASSWORD="$RET" cat /etc/lx-office-erp/authentication.pl | \ - sed --expression "s/^password = /password = $PASSWORD/g" \ + sed --expression "s/'password' => /'password' => '$PASSWORD', #/g" \ > /tmp/1.txt cat /tmp/1.txt | \ -- 2.20.1