From: Holger Lindemann Date: Sat, 5 Mar 2011 10:16:52 +0000 (+0100) Subject: Passwort für DB richtig einpflegen X-Git-Tag: release-2.6.3~53^2~3^2~1 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=30939200848de4f270f9e58fec3737f84d7c04cb;p=kivitendo-erp.git Passwort für DB richtig einpflegen --- 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 | \