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

Bug #817248 reported by Hedayat Vatankhah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-distutils-extra
New
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 '/')

Revision history for this message
Hedayat Vatankhah (hedayat-fwd+launchpad) wrote :

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

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.