[arch-projects] [dbscripts] [PATCH 10/11] db-functions: Fix check_repo_permission checking all architectures