1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/emailpoubelle_ynh.git synced 2024-09-03 18:26:29 +02:00
This commit is contained in:
Krakinou 2019-05-20 23:35:32 +02:00
parent a1f14daf2f
commit c457681b9b

View file

@ -93,7 +93,7 @@ ynh_install_app_dependencies $pkg_dependencies
#mysqlpwd setting was implemented in ynh2 - check if saved and if not implement #mysqlpwd setting was implemented in ynh2 - check if saved and if not implement
db_pass=$(ynh_app_setting_get $app mysqlpwd) db_pass=$(ynh_app_setting_get $app mysqlpwd)
if [ -z $db_pass]; then if [ -z $db_pass ]; then
#c'est moche mais ça fera bien l'affaire - en deux lignes sinon pb en fonction du type de shell #c'est moche mais ça fera bien l'affaire - en deux lignes sinon pb en fonction du type de shell
t=$(cat /var/www/$app/conf.php | grep DBPASS) t=$(cat /var/www/$app/conf.php | grep DBPASS)
db_pass=${t:26:24} db_pass=${t:26:24}