mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-04-01 14:52:29 -04:00
Linux prs 500 udev rule: Use SUBSYSTEMS instead of the deprecated BUS
This commit is contained in:
parent
f659f06ed5
commit
5e5a613b8f
@ -313,7 +313,7 @@ class PostInstall:
|
||||
with open(os.path.join(base, '95-calibre.rules'), 'wb') as udev:
|
||||
self.manifest.append(udev.name)
|
||||
udev.write('''# Sony Reader PRS-500\n'''
|
||||
'''BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="%s"\n'''%(group,)
|
||||
'''SUBSYSTEMS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="%s"\n'''%(group,)
|
||||
)
|
||||
except:
|
||||
if self.opts.fatal_errors:
|
||||
|
||||
@ -152,7 +152,7 @@ Linux development environment
|
||||
used in windows and OS X. Alternatively, you can install |app| from source. Instructions for setting up a development
|
||||
environment from source are in the INSTALL file in the source tree. Here we will address using the binary a runtime.
|
||||
|
||||
Install the |app| using the binary installer. The opena terminal and change to the previously checked out |app| code directory, for example::
|
||||
Install the |app| using the binary installer. Then open a terminal and change to the previously checked out |app| code directory, for example::
|
||||
|
||||
cd /home/kovid/work/calibre
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user