mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-02 22:48:40 +00:00
Fix installing with --root
This commit is contained in:
parent
9bf484361a
commit
ede6ebe35d
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -305,12 +305,12 @@ class clean(_clean):
|
||||||
_clean.run(self)
|
_clean.run(self)
|
||||||
|
|
||||||
class install(_install):
|
class install(_install):
|
||||||
sub_commands = _install.sub_commands
|
|
||||||
def run(self):
|
def run(self):
|
||||||
for cmd_name in self.get_sub_commands():
|
for cmd_name in self.get_sub_commands():
|
||||||
self.run_command(cmd_name)
|
self.run_command(cmd_name)
|
||||||
_install.run(self)
|
_install.run(self)
|
||||||
self.do_egg_install()
|
if not self.root:
|
||||||
|
self.do_egg_install()
|
||||||
|
|
||||||
cmdclass = {
|
cmdclass = {
|
||||||
'build': build,
|
'build': build,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue