Updated new detection
This commit is contained in:
@@ -21,7 +21,7 @@ if [ -f /etc/centos-release ]; then
|
|||||||
fi
|
fi
|
||||||
elif [ -f /etc/fedora-release ]; then
|
elif [ -f /etc/fedora-release ]; then
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
if [ "$VERSION_ID" != "31" ] && [ "$VERSION_ID" != "30" ] && [ "$VERSION_ID" != "29" ] && [ "$VERSION_ID" != "28" ]; then
|
if [ "$VERSION_ID" != "32" ] && [ "$VERSION_ID" != "31" ] && [ "$VERSION_ID" != "30" ] && [ "$VERSION_ID" != "29" ] && [ "$VERSION_ID" != "28" ]; then
|
||||||
resetDistVer
|
resetDistVer
|
||||||
else
|
else
|
||||||
DISTNAME=debian
|
DISTNAME=debian
|
||||||
@@ -55,7 +55,7 @@ elif [ -f /etc/lsb-release ]; then
|
|||||||
else
|
else
|
||||||
resetDistVer
|
resetDistVer
|
||||||
fi
|
fi
|
||||||
elif [ "$DISTVER" != "18.04" ] && [ "$DISTVER" != "18.10" ] && [ "$DISTVER" != "19.04" ] && [ "$DISTVER" != "19.10" ]; then
|
elif [ "$DISTVER" != "18.04" ] && [ "$DISTVER" != "18.10" ] && [ "$DISTVER" != "19.04" ] && [ "$DISTVER" != "19.10" ] && [ "$DISTVER" != "20.04" ]; then
|
||||||
resetDistVer
|
resetDistVer
|
||||||
else
|
else
|
||||||
DISTNAME=debian
|
DISTNAME=debian
|
||||||
|
|||||||
127
releases.json
127
releases.json
@@ -1,12 +1,5 @@
|
|||||||
{
|
{
|
||||||
"Locations": {
|
"Locations": {
|
||||||
"arch": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"centos7": {
|
"centos7": {
|
||||||
"1.3.0": {
|
"1.3.0": {
|
||||||
"sha256": "",
|
"sha256": "",
|
||||||
@@ -14,13 +7,6 @@
|
|||||||
"urls": []
|
"urls": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"centos8": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"darwin": {
|
"darwin": {
|
||||||
"1.3.0": {
|
"1.3.0": {
|
||||||
"sha256": "",
|
"sha256": "",
|
||||||
@@ -42,48 +28,6 @@
|
|||||||
"urls": []
|
"urls": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"fedora28": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fedora29": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fedora30": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"fedora31": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"opensuse15": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"opensuse15.1": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"solus": {
|
"solus": {
|
||||||
"1.3.0": {
|
"1.3.0": {
|
||||||
"sha256": "",
|
"sha256": "",
|
||||||
@@ -91,41 +35,6 @@
|
|||||||
"urls": []
|
"urls": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tumbleweed": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ubuntu18.04": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ubuntu18.10": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ubuntu19.04": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ubuntu19.10": {
|
|
||||||
"1.3.0": {
|
|
||||||
"sha256": "",
|
|
||||||
"sig": "",
|
|
||||||
"urls": []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"win32": {
|
"win32": {
|
||||||
"1.3.0": {
|
"1.3.0": {
|
||||||
"sha256": "",
|
"sha256": "",
|
||||||
@@ -135,9 +44,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Versions": {
|
"Versions": {
|
||||||
"arch": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"centos7": [
|
"centos7": [
|
||||||
"1.3.0"
|
"1.3.0"
|
||||||
],
|
],
|
||||||
@@ -150,45 +56,12 @@
|
|||||||
"debian10": [
|
"debian10": [
|
||||||
"1.3.0"
|
"1.3.0"
|
||||||
],
|
],
|
||||||
"fedora28": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"fedora29": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"fedora30": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"fedora31": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"linux": [
|
"linux": [
|
||||||
"unavailable"
|
"unavailable"
|
||||||
],
|
],
|
||||||
"opensuse15": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"opensuse15.1": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"solus": [
|
"solus": [
|
||||||
"1.3.0"
|
"1.3.0"
|
||||||
],
|
],
|
||||||
"tumbleweed": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"ubuntu18.04": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"ubuntu18.10": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"ubuntu19.04": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"ubuntu19.10": [
|
|
||||||
"1.3.0"
|
|
||||||
],
|
|
||||||
"unknown": [
|
"unknown": [
|
||||||
"unavailable"
|
"unavailable"
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user