Update restore

This commit is contained in:
ericgaspar 2022-10-09 11:12:12 +02:00
parent 9cf5e696b3
commit e4f59f6fdf

View file

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