dist-git/pagure: enable the pagure-dist-git 3rd party extension in prod

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2019-11-27 10:34:32 +01:00
parent fb664e3745
commit 71764d9360

View file

@ -10,9 +10,7 @@ import pkg_resources
import os
## Set the environment variable pointing to the configuration file
os.environ['PAGURE_CONFIG'] = '/etc/pagure/pagure.cfg'
{% if env == 'staging' %}
os.environ['PAGURE_PLUGIN'] = '/etc/pagure/pagure_plugins.cfg'
{% endif %}
## Set the environment variable if the tmp folder needs to be moved
## Is necessary to work around bug in libgit2: