mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
fix db.inc.php parsing
This commit is contained in:
parent
e16079dc18
commit
9ec93f57c2
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@ sudo su -c "cd $final_path && php composer.phar install" -s /bin/sh www-data
|
|||
|
||||
# Movim configuration
|
||||
sudo cp $final_path/config/db.example.inc.php $final_path/config/db.inc.php
|
||||
sudo sed -i "s@username@$db_user@g" $final_path/config/db.inc.php
|
||||
sudo sed -i "s@password@$db_pwd@g" $final_path/config/db.inc.php
|
||||
sed -i "s@'username' => 'username'@'username' => '$db_user'@g" $final_path/config/db.inc.php
|
||||
sed -i "s@'password' => 'password'@'username' => '$db_pwd'@g" $final_path/config/db.inc.php
|
||||
sudo sed -i "s@/ws/@$path/ws/@g" $final_path/app/assets/js/movim_websocket.js
|
||||
sudo su -c "cd $final_path && php mud.php db set" -s /bin/sh www-data
|
||||
sudo su -c "cd $final_path && php mud.php config locale:$language"
|
||||
|
|
Loading…
Reference in a new issue