mirror of
https://github.com/claunia/apprepodbmgr.git
synced 2025-12-16 19:24:42 +00:00
Use DotNetZip to test for ZIP file.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2017-05-11 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* Workers.cs:
|
||||
Use DotNetZip to test for ZIP file.
|
||||
|
||||
2017-05-11 Natalia Portillo <claunia@claunia.com>
|
||||
|
||||
* Workers.cs:
|
||||
|
||||
@@ -1105,7 +1105,7 @@ namespace osrepodbmgr.Core
|
||||
return;
|
||||
}
|
||||
|
||||
if(format == "Zip")
|
||||
if(ZipFile.IsZipFile(Context.path))
|
||||
{
|
||||
Context.copyArchive = true;
|
||||
ZipFile zf = ZipFile.Read(Context.path);
|
||||
|
||||
Reference in New Issue
Block a user