Fix RepackZip

This commit is contained in:
Dmitry Isaenko 2024-01-20 18:21:03 +03:00
parent a496e05642
commit bb35158373

View file

@ -88,11 +88,12 @@ public class RepackZip {
} catch (Exception e) { } catch (Exception e) {
log.error("{}", e); log.error("{}", e);
} }
log.info("Complete: {}", container.getName());
} }
private void makeZip(ZipEntry entry, InputStream inputStream) throws Exception { private void makeZip(ZipEntry entry, InputStream inputStream) throws Exception {
final String newZipFileLocation = dirLocation + File.separator + entry.getName() + ".zip"; final String newZipFileLocation = dirLocation + File.separator + entry.getName() + ".zip";
final File newZipFile = new File(dirLocation); final File newZipFile = new File(newZipFileLocation);
if (newZipFile.exists()) { if (newZipFile.exists()) {
log.info("Skipping unpacked: {}", newZipFileLocation); log.info("Skipping unpacked: {}", newZipFileLocation);