Fix module name typo that gets triggered by overwriting installation of

distros that have some dirs relocated to the root dir.
pull/302/head
Shinji Suzuki 6 years ago
parent 03077403d2
commit 2bb9b12403

@ -220,7 +220,7 @@ class DirectoryRelocator:
src = os.path.join(self.src_dir, dir_name)
dst = os.path.join(self.dst_dir, dir_name)
if os.path.exists(dst):
os.rmtree(dst)
shutil.rmtree(dst)
shutil.move(src, dst)
if __name__ == '__main__':

Loading…
Cancel
Save