Skip to content

Commit 4a8eade

Browse files
authored
Merge pull request #71 from jithinbp/development
Bug fixes in setup.py
2 parents 3214ac4 + 8bc85f9 commit 4a8eade

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ class CustomInstall(install):
3535
def run(self):
3636
if not hasattr(self,"root"):
3737
install_udev_rules(True)
38-
elif 'debian' not in self.root:
39-
install_udev_rules(True)
38+
elif self.root is not None:
39+
if 'debian' not in self.root:
40+
install_udev_rules(True)
4041
install.run(self)
4142

4243
setup(name='PSL',

0 commit comments

Comments
 (0)