Merge pull request #289 from cuu/gcores

unzip with override
This commit is contained in:
GNU 2019-08-22 21:18:02 +08:00 committed by GitHub
commit 228a771184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -104,7 +104,7 @@ class DownloadProcessPage(Page):
if filename.endswith(".zip"):
os.chdir(self._DST_DIR)
os.system( "unzip " + filename )
os.system( "unzip -o " + filename )
elif filename.endswith(".zsync"):
os.chdir(self._DST_DIR)