1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
Description: 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-ev/pagure_ev.service is not similarly patched because
we don't install that (we use our pagure-ev-server.service instead)
Author: Sergio Durigan Junior <sergiodj@sergiodj.net>
Forwarded: not-needed
--- a/pagure/default_config.py
+++ b/pagure/default_config.py
@@ -605,7 +605,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
|