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