1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/sysutils/yum/files/patch-yum-updatesd.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

16 lines
494 B
Python

--- yum-updatesd.py.orig 2010-05-06 16:54:46.000000000 +0200
+++ yum-updatesd.py 2010-08-22 13:29:51.000000000 +0200
@@ -53,10 +53,10 @@
from yum.update_md import UpdateMetadata
# FIXME: is it really sane to use this from here?
-sys.path.append('/usr/share/yum-cli')
+sys.path.append('@PREFIX@/share/yum-cli')
import callback
-config_file = '/etc/yum/yum-updatesd.conf'
+config_file = '@PREFIX@/etc/yum/yum-updatesd.conf'
initial_directory = os.getcwd()
class UpdateEmitter(object):