macOS: Remove udev rule warning
Warning about missing udev rules do not apply to macOS. Related #2729
This commit is contained in:
parent
fd17e47382
commit
83c380f85b
|
@ -178,7 +178,8 @@ def main():
|
||||||
|
|
||||||
udev_file = "42-logitech-unify-permissions.rules"
|
udev_file = "42-logitech-unify-permissions.rules"
|
||||||
if (
|
if (
|
||||||
logger.isEnabledFor(logging.WARNING)
|
platform.system() == "Linux"
|
||||||
|
and logger.isEnabledFor(logging.WARNING)
|
||||||
and not os.path.isfile("/etc/udev/rules.d/" + udev_file)
|
and not os.path.isfile("/etc/udev/rules.d/" + udev_file)
|
||||||
and not os.path.isfile("/usr/lib/udev/rules.d/" + udev_file)
|
and not os.path.isfile("/usr/lib/udev/rules.d/" + udev_file)
|
||||||
and not os.path.isfile("/usr/local/lib/udev/rules.d/" + udev_file)
|
and not os.path.isfile("/usr/local/lib/udev/rules.d/" + udev_file)
|
||||||
|
|
Loading…
Reference in New Issue