Fix RepackZip

master
Dmitry Isaenko 2024-01-20 18:21:03 +03:00
parent a496e05642
commit bb35158373
1 changed files with 2 additions and 1 deletions

View File

@ -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);