Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:zhonghuaren
displaycal
displaycal-3.5.1.0-udev-dir.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File displaycal-3.5.1.0-udev-dir.patch of Package displaycal
diff -Nru a/DisplayCAL/setup.py b/DisplayCAL/setup.py --- a/DisplayCAL/setup.py 2018-03-16 17:11:13.000000000 +0100 +++ b/DisplayCAL/setup.py 2018-03-23 06:30:31.283217756 +0100 @@ -634,18 +634,18 @@ pydir, "..", "misc", "Argyll.usermap")])) else: devconf_files = [] - if os.path.isdir("/etc/udev/rules.d"): + if os.path.isdir("/usr/lib/udev/rules.d"): if safe_glob("/dev/bus/usb/*/*"): # USB and serial instruments using udev, where udev # already creates /dev/bus/usb/00X/00X devices devconf_files.append( - ("/etc/udev/rules.d", [os.path.join( + ("/usr/lib/udev/rules.d", [os.path.join( pydir, "..", "misc", "55-Argyll.rules")])) else: # USB using udev, where there are NOT /dev/bus/usb/00X/00X # devices devconf_files.append( - ("/etc/udev/rules.d", [os.path.join( + ("/usr/lib/udev/rules.d", [os.path.join( pydir, "..", "misc", "45-Argyll.rules")])) else: if os.path.isdir("/etc/hotplug"):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor