From: Sergio Durigan Junior <sergiodj@sergiodj.net>
Date: Sun, 2 Feb 2020 21:43:55 -0500
Subject: Adjust path of aclchecker.py

Pagure's default_config.py file contains a hardcoded path for the
aclchecker.py script which doesn't work for us (/usr/libexec,
Fedora-specific).  This patch adjusts the path to where we actually
install the script (/usr/share/pagure).
---
 pagure/default_config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pagure/default_config.py b/pagure/default_config.py
index 9693eab..ebd6e64 100644
--- a/pagure/default_config.py
+++ b/pagure/default_config.py
@@ -572,7 +572,7 @@ SSH_KEYS_USERNAME_EXPECT = None
 # Arguments to add to the SSH keys, possible replacements:
 # %(username)s: username owning this key
 SSH_KEYS_OPTIONS = (
-    'restrict,command="/usr/libexec/pagure/aclchecker.py %(username)s"'
+    'restrict,command="/usr/share/pagure/aclchecker.py %(username)s"'
 )
 # If not set to None, aclchecker and keyhelper will use this api admin
 # token to get authorized to internal endpoints that they use. The token
