1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

use helper to store mysql passwd

This commit is contained in:
Clément 2017-02-12 11:20:17 +01:00
parent 6d25cdf734
commit 264ccea9e7

View file

@ -41,7 +41,7 @@ db_user=freshrss
db_name=freshrss db_name=freshrss
# Initialize database and store mysql password for upgrade # Initialize database and store mysql password for upgrade
ynh_mysql_create_db "$db_name" "$db_user" "$db_pwd" ynh_mysql_create_db "$db_name" "$db_user" "$db_pwd"
sudo yunohost app setting freshrss mysqlpwd -v $db_pwd ynh_app_setting_set "$app" mysqlpwd "$dbpass"
# Copy files to the right place # Copy files to the right place
TMPDIR=$(ynh_mkdir_tmp) TMPDIR=$(ynh_mkdir_tmp)