Skip to content

Commit bddac55

Browse files
committed
bug fix in setup.py . undefined reference to "root"
1 parent 2db8949 commit bddac55

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy