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 2018-11-25 16:27:12 +01:00 committed by GitHub
parent be7f516cbb
commit 0222166f2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ db_pass=$(ynh_app_setting_get $app mysqlpwd)
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
t=$(cat /var/www/$app/conf.php | grep DBPASS)
dbpass=${t:26:24}
db_pass=${t:26:24}
ynh_app_setting_set $app mysqlpwd $db_pass
fi