mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
This commit is contained in:
parent
b2a301912f
commit
46f537ed86
4
setup.py
4
setup.py
@ -333,5 +333,9 @@ if os.access('/etc/udev/rules.d', os.W_OK):
|
|||||||
'''BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="plugdev"\n'''
|
'''BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="plugdev"\n'''
|
||||||
)
|
)
|
||||||
udev.close()
|
udev.close()
|
||||||
|
try:
|
||||||
check_call('udevstart', shell=True)
|
check_call('udevstart', shell=True)
|
||||||
print 'success'
|
print 'success'
|
||||||
|
except:
|
||||||
|
print >>sys.stderr, "Couldn't reload udev, you may have to reboot"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user