distgit/pagure: update deprecated environment variable to the new one

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-08-07 09:59:13 +02:00
parent dcc53bd63b
commit 69cd8056e1

View file

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