Revert "Allow v1 for swap repos"

This reverts commit e21f1995e1.
This commit is contained in:
Hans-Christoph Steiner
2022-11-30 22:53:50 +01:00
parent d77e97e918
commit b1aa5f6aa2

View File

@@ -104,6 +104,11 @@ public class IndexV1Updater extends IndexUpdater {
*/
@Override
public boolean update() throws IndexUpdater.UpdateException {
if (repo.isSwap) {
// swap repos do not support index-v1
return false;
}
File destFile = null;
Downloader downloader;
try {