This commit is contained in:
ericgaspar
2021-12-29 19:18:32 +01:00
parent 6e2eba4a9b
commit ee46a15165
3 changed files with 4 additions and 5 deletions

View File

@ -35,8 +35,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=2
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