mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 12:22:59 +02:00
Use rmdir when removing directories instead of unlink.
This commit is contained in:
parent
f334cd786e
commit
51d65037df
1 changed files with 1 additions and 1 deletions
|
|
@ -334,7 +334,7 @@ def post_install():
|
|||
os.chdir(config_dir)
|
||||
for f in os.listdir('.'):
|
||||
if os.stat(f).st_uid == 0:
|
||||
os.unlink(f)
|
||||
os.rmdir(f)
|
||||
|
||||
def binary_install():
|
||||
manifest = os.path.join(getattr(sys, 'frozen_path'), 'manifest')
|
||||
|
|
|
|||
Loading…
Reference in a new issue