1
0
Fork 0
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:
src386 2015-08-11 09:37:15 +02:00
parent e16079dc18
commit 9ec93f57c2

View file

@ -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"