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:
parent
6d25cdf734
commit
264ccea9e7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue