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
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 | \