mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-20 09:52:13 +01:00
Fix download package index from external sources
This commit is contained in:
parent
9e38c878ec
commit
412b6d1bf3
@ -170,6 +170,8 @@ public class DownloadableContributionsDownloader {
|
||||
downloadedFilesAccumulator.remove(packageIndex.getName());
|
||||
}
|
||||
} else {
|
||||
// Move the package index to the destination when the signature is not necessary
|
||||
Files.move(packageIndexTemp.toPath(), packageIndex.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
log.info("The domain is not selected to verify the signature. packageIndex: {}", packageIndexUrl);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user