Cleaning up

This commit is contained in:
ericgaspar
2022-06-26 07:50:56 +02:00
parent dd8150481a
commit f4d9f40daf
3 changed files with 12 additions and 32 deletions

View File

@ -35,7 +35,8 @@ 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