mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-05 10:53:43 +02:00
This commit is contained in:
parent
b2a301912f
commit
46f537ed86
1 changed files with 6 additions and 2 deletions
8
setup.py
8
setup.py
|
|
@ -333,5 +333,9 @@
|
|||
'''BUS=="usb", SYSFS{idProduct}=="029b", SYSFS{idVendor}=="054c", MODE="660", GROUP="plugdev"\n'''
|
||||
)
|
||||
udev.close()
|
||||
check_call('udevstart', shell=True)
|
||||
print 'success'
|
||||
try:
|
||||
check_call('udevstart', shell=True)
|
||||
print 'success'
|
||||
except:
|
||||
print >>sys.stderr, "Couldn't reload udev, you may have to reboot"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue