1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
Description: Remove the check for the udev rules file
Author: Stephen Kitt <skitt@debian.org>
Forwarded: not-needed
We should assume that the package is installed correctly. In any case
we leave the name of the rules file up to debhelper, it won’t be
42-logitech-unify-permissions.rules.
--- a/lib/solaar/gtk.py
+++ b/lib/solaar/gtk.py
@@ -177,16 +177,6 @@
signal.signal(signal.SIGINT, _handlesig)
signal.signal(signal.SIGTERM, _handlesig)
- udev_file = "42-logitech-unify-permissions.rules"
- if (
- platform.system() == "Linux"
- and logger.isEnabledFor(logging.WARNING)
- 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/local/lib/udev/rules.d/" + udev_file)
- ):
- logger.warning("Solaar udev file not found in expected location")
- logger.warning("See https://pwr-solaar.github.io/Solaar/installation for more information")
try:
listener.setup_scanner(ui.status_changed, ui.setting_changed, ui.common.error_dialog)
|