link varsa sorun çıkartabilir. o yüzden önce symlink'i siliyoruz.
This commit is contained in:
@@ -139,6 +139,8 @@ class ArchiveZip(ArchiveBase):
|
||||
|
||||
if info.external_attr == self.symmagic:
|
||||
target = zipObj.read(info.filename)
|
||||
if os.path.exists(ofile):
|
||||
os.remove(ofile)
|
||||
os.symlink(target, ofile)
|
||||
else:
|
||||
perm = info.external_attr
|
||||
|
||||
Reference in New Issue
Block a user