From 669e80f0c1419990c829cd71eb72a6353c68d22d Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Tue, 12 Dec 2017 18:48:51 +0100 Subject: [PATCH] Replace app checkurl by webpath_available --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 526e58d..c10e79d 100644 --- a/scripts/restore +++ b/scripts/restore @@ -31,7 +31,7 @@ db_name=$(ynh_app_setting_get $app db_name) # CHECK IF THE APP CAN BE RESTORED #================================================= -yunohost app checkurl "${domain}${path_url}" -a "$app" \ +ynh_webpath_available $domain $path_url \ || ynh_die "Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die "There is already a directory: $final_path "