projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git@lx-office.linet-services.de:lx-office-erp
[kivitendo-erp.git]
/
DEBIAN
/
DEBIAN
/
postinst
diff --git
a/DEBIAN/DEBIAN/postinst
b/DEBIAN/DEBIAN/postinst
index
8a9d974
..
a681b98
100755
(executable)
--- 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 | \
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
> /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 | \
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 | \
> /tmp/1.txt
cat /tmp/1.txt | \