diff --git a/scripts/install b/scripts/install index 6f65378..12e1395 100755 --- a/scripts/install +++ b/scripts/install @@ -27,7 +27,7 @@ ynh_abort_if_errors domain=$YNH_APP_ARG_DOMAIN path_url="/" admin=$YNH_APP_ARG_ADMIN -datadir="/home/yunohost.app/${app}" + ### If it's a multi-instance app, meaning it can be installed several times independently ### The id of the app as stated in the manifest is available as $YNH_APP_ID @@ -40,7 +40,7 @@ datadir="/home/yunohost.app/${app}" ### guaranteed to be unique. This is a good unique identifier to define installation path, ### db names, ... app=$YNH_APP_INSTANCE_NAME - +datadir="/home/yunohost.app/${app}" #================================================= # CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS #=================================================