From 3fac815437b1fbb508c3a26f455bc96d4fb0dea8 Mon Sep 17 00:00:00 2001 From: Stylix58 <63605602+Stylix58@users.noreply.github.com> Date: Tue, 30 Mar 2021 20:50:21 +0200 Subject: [PATCH] Update restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 6b75648..24d4b37 100755 --- a/scripts/restore +++ b/scripts/restore @@ -34,7 +34,7 @@ app_id=$(ynh_app_setting_get --app=$app --key=app_id) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -test ! -e "/var/www/$YNH_APP_ARG_APP_ID/icecoder" || ynh_die --message="You have already restored a app instance here before restore this app instance!" +#test ! -e "/var/www/$YNH_APP_ARG_APP_ID/icecoder" || ynh_die --message="You have already restored a app instance here before restore this app instance!" test -e "/var/www/$YNH_APP_ARG_APP_ID" || ynh_die --message="You don't have installed a webapp before restore this app!" ynh_webpath_available --domain=$domain --path_url=$path_url \