Fix RepackZip
This commit is contained in:
parent
a496e05642
commit
bb35158373
1 changed files with 2 additions and 1 deletions
|
@ -88,11 +88,12 @@ public class RepackZip {
|
|||
} catch (Exception e) {
|
||||
log.error("{}", e);
|
||||
}
|
||||
log.info("Complete: {}", container.getName());
|
||||
}
|
||||
|
||||
private void makeZip(ZipEntry entry, InputStream inputStream) throws Exception {
|
||||
final String newZipFileLocation = dirLocation + File.separator + entry.getName() + ".zip";
|
||||
final File newZipFile = new File(dirLocation);
|
||||
final File newZipFile = new File(newZipFileLocation);
|
||||
|
||||
if (newZipFile.exists()) {
|
||||
log.info("Skipping unpacked: {}", newZipFileLocation);
|
||||
|
|
Loading…
Reference in a new issue