python-distutils-extra doesn't honor --prefix for installing dbus service files

Bug #817248 reported by Hedayat Vatankhah on 2011-07-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-distutils-extra
Undecided
Unassigned

Bug Description

I tried to install a package into a directory using './setup.py install --prefix /my/install/prefix', it installed all files into this directory except a dbus configuration files, which it tries to install into /etc/dbus-1/system.d instead of /my/install/prefix/etc/dbus-1/system.d

Looks like that it can be fixed by replacing:
        v.append(('/etc/dbus-1/system.d/', dbus_conf))

with
        v.append(('etc/dbus-1/system.d/', dbus_conf))
(removing the leading '/')

Well, maybe I just confused --prefix with --root

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers