1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/slingcode_ynh.git synced 2024-09-03 20:25:55 +02:00

Update restore

This commit is contained in:
ericgaspar 2021-11-26 10:00:26 +01:00
parent c8ef74c5af
commit 079b1f056f
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

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