1
0
Fork 0
drool/dnsjit_version.lua
Daniel Baumann 8a0fa2b011
Adding upstream version 2.0.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 19:00:35 +01:00

11 lines
438 B
Lua

local _, major, minor, patch = unpack(arg)
major = tonumber(major)
minor = tonumber(minor)
patch = tonumber(patch)
if DNSJIT_MAJOR_VERSION > major then os.exit(0) end
if DNSJIT_MAJOR_VERSION < major then os.exit(1) end
if DNSJIT_MINOR_VERSION > minor then os.exit(0) end
if DNSJIT_MINOR_VERSION < minor then os.exit(1) end
if DNSJIT_PATCH_VERSION > patch then os.exit(0) end
if DNSJIT_PATCH_VERSION < patch then os.exit(1) end
os.exit(0)