From 87bb5fd1d2f162715904c51b6b4d849729092e83 Mon Sep 17 00:00:00 2001 From: Stylix58 <63605602+Stylix58@users.noreply.github.com> Date: Tue, 30 Mar 2021 20:12:52 +0200 Subject: [PATCH] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 48d08fc..3c12287 100755 --- a/scripts/install +++ b/scripts/install @@ -53,8 +53,8 @@ ynh_script_progression --message="Validating installation parameters..." --weigh ### If the app provides an internal web server (or uses another application server such as uWSGI), the final path should be "/opt/yunohost/$app" final_path=/var/www/$YNH_APP_ARG_APP_ID/icecoder -test -e "/var/www/$YNH_APP_ARG_APP_ID/icecoder" || ynh_die --message="You have already installed a app instance here before installing this app instance" -test -e "/var/www/$YNH_APP_ARG_APP_ID" || ynh_die --message="You don't have installed a webapp before installing this app" +test -e "/var/www/$YNH_APP_ARG_APP_ID/icecoder" || ynh_die --message="You have already installed a app instance here before install this app instance" +test -e "/var/www/$YNH_APP_ARG_APP_ID" || ynh_die --message="You don't have installed a webapp before install this app" test ! -e "$final_path" || ynh_die --message="This path already contains a folder" # Register (book) web path