1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/n8n_ynh.git synced 2024-09-03 19:55:52 +02:00

Update restore

This commit is contained in:
Éric Gaspar 2022-06-19 23:40:10 +02:00
parent 4fb3bb90fd
commit 580bde34e5
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -35,7 +35,8 @@ datadir=$(ynh_app_setting_get --app=$app --key=datadir)
#=================================================
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