Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) this should adjust the Dev/Main detection of the updater to the new version numbers (0.7x is Dev, if x != 0)

low01278778df4648b
diff --git a/source/de/anomic/yacy/yacyVersion.java b/source/de/anomic/yacy/yacyVersion.java
index 7f2ac4e35..7b231070e 100644
--- a/source/de/anomic/yacy/yacyVersion.java
+++ b/source/de/anomic/yacy/yacyVersion.java
@@ -123,7 +123,7 @@ public final class yacyVersion implements Comparator<yacyVersion>, Comparable<ya
} catch (final NumberFormatException e) {
throw new RuntimeException("release file name '" + release + "' is not valid, '" + comp[0] + "' should be a float number");
}
- this.mainRelease = ((int) (this.releaseNr * 1000)) % 10 == 0;
+ this.mainRelease = ((int) (this.releaseNr * 100)) % 10 == 0;
//System.out.println("Release version " + this.releaseNr + " is " + ((this.mainRelease) ? "main" : "std"));
this.dateStamp = comp[1];
if (this.dateStamp.length() != 8) {