diff --git a/conf/.env.example b/conf/.env.example index dcfeecc..dbf7bd6 100644 --- a/conf/.env.example +++ b/conf/.env.example @@ -32,7 +32,7 @@ DB_LOG_SQL=false TIMEZONE=UTC # folders in which the files will be stored -#LYCHEE_DIST="/var/www/__APP__/public/dist/" +LYCHEE_DIST="__FINALPATH__/public/dist/" LYCHEE_UPLOADS="/home/yunohost.app/__APP__/uploads/" # url to access those files diff --git a/scripts/install b/scripts/install index 9989dc8..848d8f5 100755 --- a/scripts/install +++ b/scripts/install @@ -128,7 +128,7 @@ cp ../conf/.env.example $final_path/.env ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/.env" ynh_replace_string --match_string="__DB_PASS__" --replace_string="$db_pwd" --target_file="$final_path/.env" -ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$final_path/.env" +ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$final_path/.env" # setup application config cd $final_path && php$phpversion artisan key:generate -n --force --env