From f9a4a161dbe8ea946c39be448e067e529c47daa1 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 9 Apr 2021 21:12:04 +0200 Subject: [PATCH 1/2] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 632de21..ccf477f 100755 --- a/scripts/install +++ b/scripts/install @@ -366,7 +366,7 @@ ynh_permission_create --permission="admin" --url="/admin" --allowed=$admin # Everyone can access to the api part # We don't want to display the tile in the sso so we put --show_tile="false" # And we don't want that the YunoHost Admin can remove visitors group to this permission, so we put --protected="true" -ynh_permission_create --permission="api" --url "/api" --allowed="visitors" --show_tile="false" --protected="true" +ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --show_tile="false" --protected="true" #================================================= # RELOAD NGINX From 39d56882ed5a8779c31e6a63568a3abd3a47f2f4 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 9 Apr 2021 21:16:25 +0200 Subject: [PATCH 2/2] Typo --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index f263b0d..146252a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -75,7 +75,7 @@ fi # Create a permission if needed if ! ynh_permission_exists --permission="api"; then - ynh_permission_create --permission="api" --url "/api" --allowed="visitors" --show_tile="false" --protected="true" + ynh_permission_create --permission="api" --url="/api" --allowed="visitors" --show_tile="false" --protected="true" fi #=================================================