From 264ccea9e7e93ad8226821879ae203dace53ea27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Sun, 12 Feb 2017 11:20:17 +0100 Subject: [PATCH] use helper to store mysql passwd --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index e5962ae..dc2813e 100755 --- a/scripts/install +++ b/scripts/install @@ -41,7 +41,7 @@ db_user=freshrss db_name=freshrss # Initialize database and store mysql password for upgrade 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 TMPDIR=$(ynh_mkdir_tmp)