1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/sysutils/yum/files/patch-yum-plugins.py
Pietro Cerutti 78151dc8f2 - New port: sysutils/yum
The yum package manager is used by Fedora (and CentOS) to manage RPM
  packages.

PR:		150541
Submitted by:	Anders F Björklund <afb@rpm5.org>
Feature safe:	yes
2012-10-19 08:48:15 +00:00

12 lines
443 B
Python

--- yum/plugins.py.orig 2010-07-06 17:46:39.000000000 +0200
+++ yum/plugins.py 2010-08-22 13:36:48.000000000 +0200
@@ -135,7 +135,7 @@
files. Defaults to "/etc/yum/pluginconf.d".
'''
if not pluginconfpath:
- pluginconfpath = ['/etc/yum/pluginconf.d']
+ pluginconfpath = ['@PREFIX@/etc/yum/pluginconf.d']
self.searchpath = searchpath
self.pluginconfpath = pluginconfpath