diff options
author | Andrew Resch <andrewresch@gmail.com> | 2008-12-12 04:23:47 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2008-12-12 04:23:47 +0000 |
commit | 43f5581cf1a66dea5dd8e91b9474a71d823bb73c (patch) | |
tree | 9a7e35f1fc7f01ad86ea2d54ba740c1eb7e67213 /setup.py | |
parent | c773b973344ebacedb3f86fe46d4ee585bab9038 (diff) | |
download | deluge-43f5581cf1a66dea5dd8e91b9474a71d823bb73c.tar.gz deluge-43f5581cf1a66dea5dd8e91b9474a71d823bb73c.tar.bz2 deluge-43f5581cf1a66dea5dd8e91b9474a71d823bb73c.zip |
Fix installing with --rootdeluge-1.0.7
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -305,12 +305,13 @@ class clean(_clean): _clean.run(self) class install(_install): - sub_commands = _install.sub_commands def run(self): for cmd_name in self.get_sub_commands(): self.run_command(cmd_name) _install.run(self) - self.do_egg_install() + if not self.root: + self.do_egg_install() + cmdclass = { 'build': build, |