1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/baikal_ynh.git synced 2024-09-03 18:16:11 +02:00

[fix] bug in saving password setting

This commit is contained in:
Julien Malik 2014-09-16 16:22:03 +02:00
parent 17c59e936b
commit a72de5afe1

View file

@ -31,7 +31,7 @@ sudo yunohost app initdb $db_user -p $db_pwd -s $(readlink -e ../sources/Core/Re
sudo yunohost app setting baikal mysqlpwd -v $db_pwd
sed -i "s@YNH_TIMEZONE@$(cat /etc/timezone)@g" ../conf/config.php
sed -i "s@YNH_ADMIN_PASSWORDHASH@$(echo -n admin:BaikalDAV:$password | md5sum | cut -d ' ' -f 1)@g" ../conf/config.php
sudo yunohost app setting baikal password $password
sudo yunohost app setting baikal password -v $password
sed -i "s@YNH_LOCATION@$path@g" ../conf/config.system.php
sed -i "s@YNH_DBNAME@$db_user@g" ../conf/config.system.php