mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:Fix #3526 (Converting Mobipocket to MS Reader not working)
This commit is contained in:
parent
e35345d589
commit
97eff53503
@ -294,7 +294,11 @@ class PostInstall:
|
||||
if not os.path.exists(old_udev):
|
||||
old_udev = os.path.join(self.opts.staging_etc, 'udev/rules.d/95-calibre.rules')
|
||||
if os.path.exists(old_udev):
|
||||
try:
|
||||
os.remove(old_udev)
|
||||
except:
|
||||
self.warn('Old udev rules found, please delete manually:',
|
||||
old_udev)
|
||||
if self.opts.staging_root == '/usr':
|
||||
base = '/lib'
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user