mirror of
https://github.com/YunoHost-Apps/nullboard_ynh.git
synced 2024-09-03 19:46:08 +02:00
Update restore
This commit is contained in:
parent
0a955f5a85
commit
e79ee41082
1 changed files with 1 additions and 2 deletions
|
@ -30,8 +30,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
|
||||
|
|
Loading…
Reference in a new issue