mirror of
https://github.com/YunoHost-Apps/freshrss_ynh.git
synced 2024-09-03 18:36:33 +02:00
retrieve mysql password after ynh_die to comply linter
This commit is contained in:
parent
1a0f600477
commit
4b7c370628
2 changed files with 2 additions and 1 deletions
0
check_process
Normal file
0
check_process
Normal file
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue