-set_lx_office_erp_authentication_db_user() {
- USER="lxoffice"
-
- cat /etc/lx-office-erp/authentication.pl | \
- sed --expression "s/'user' => 'postgres',/'user' => '$USER',/g" \
- > /tmp/1.txt
-
- mv /tmp/1.txt /etc/lx-office-erp/authentication.pl
-}