X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=DEBIAN%2FDEBIAN%2Fpostinst;h=a681b98da8205a19db9b24848d08628b2507c2f5;hb=7b5835061e81d1af578e1572e435d6f3e61d2989;hp=8a9d974f4e45f1289a522718c46e52bdfcf035bf;hpb=e2b32763e326289482fdbaffbe8dd90056f272e4;p=kivitendo-erp.git 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 | \