From a56a99e2cc086a73f138ecd51c73153128221f41 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 18 Sep 2021 08:52:37 +0200 Subject: [PATCH] Fix --- manifest.json | 2 +- scripts/restore | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 1fa38a4..de606b7 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Create and edit documents collaboratively", "fr": "Créez et éditer des documents collaborativement" }, - "version": "6.1.0~ynh2", + "version": "6.4.0~ynh2", "url": "https://www.onlyoffice.com", "upstream": { "license": "GPL-3.0-or-later", diff --git a/scripts/restore b/scripts/restore index 7da5c74..7a89200 100644 --- a/scripts/restore +++ b/scripts/restore @@ -37,8 +37,8 @@ nextclouddomain=$(ynh_app_setting_get --app=$app --key=nextclouddomain) #================================================= ynh_script_progression --message="Validating restoration parameters..." -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" +test ! -d $final_path \ + || ynh_die --message="There is already a directory: $final_path " #================================================= # STANDARD RESTORATION STEPS