diff options
| author | ericgaspar <junk.eg@free.fr> | 2021-12-07 22:40:13 +0100 |
|---|---|---|
| committer | ericgaspar <junk.eg@free.fr> | 2021-12-07 22:40:13 +0100 |
| commit | 881197fc583749e341311e28c024c50e21cb2031 (patch) | |
| tree | 4c0c5cf88c261db7b60c32033bdefe2df82e841d /scripts/restore | |
| parent | df3848850ebfb1fabc58858e2559a841b40ac9e4 (diff) | |
| download | mastodon_ynh-881197fc583749e341311e28c024c50e21cb2031.tar.gz mastodon_ynh-881197fc583749e341311e28c024c50e21cb2031.tar.bz2 mastodon_ynh-881197fc583749e341311e28c024c50e21cb2031.zip | |
fix linter
Diffstat (limited to 'scripts/restore')
| -rw-r--r-- | scripts/restore | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/restore b/scripts/restore index 7a3808b..68ff2b0 100644 --- a/scripts/restore +++ b/scripts/restore @@ -41,10 +41,7 @@ db_pwd=$(ynh_app_setting_get --app=$app --key=db_pwd) #================================================= ynh_script_progression --message="Validating restoration parameters..." -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" -test ! -d $final_path \ - || ynh_die --message="There is already a directory: $final_path " +test ! -d $final_path || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS |
