From 4b7c370628475712b0abd76cb56d7b6efe04d6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Mon, 13 Mar 2017 22:13:09 +0100 Subject: [PATCH] retrieve mysql password after ynh_die to comply linter --- check_process | 0 scripts/restore | 3 ++- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 check_process diff --git a/check_process b/check_process new file mode 100644 index 0000000..e69de29 diff --git a/scripts/restore b/scripts/restore index 4d12c5c..4e97e3b 100644 --- a/scripts/restore +++ b/scripts/restore @@ -13,11 +13,12 @@ db_name=$app # retrieve useful param domain=$(ynh_app_setting_get $app domain) path=$(ynh_app_setting_get $app path) -db_pass=$(ynh_app_setting_get $app mysqlpwd) # Check domain/path availability sudo yunohost app checkurl $domain$path -a $app || ynh_die "The path ${domain}${path} is not available for app installation." +db_pass=$(ynh_app_setting_get $app mysqlpwd) + # Restore sources & data final_path=/var/www/$app ynh_backup "www" "$final_path"