Updated new detection
This commit is contained in:
@@ -21,7 +21,7 @@ if [ -f /etc/centos-release ]; then
|
||||
fi
|
||||
elif [ -f /etc/fedora-release ]; then
|
||||
. /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
|
||||
else
|
||||
DISTNAME=debian
|
||||
@@ -55,7 +55,7 @@ elif [ -f /etc/lsb-release ]; then
|
||||
else
|
||||
resetDistVer
|
||||
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
|
||||
else
|
||||
DISTNAME=debian
|
||||
|
||||
127
releases.json
127
releases.json
@@ -1,12 +1,5 @@
|
||||
{
|
||||
"Locations": {
|
||||
"arch": {
|
||||
"1.3.0": {
|
||||
"sha256": "",
|
||||
"sig": "",
|
||||
"urls": []
|
||||
}
|
||||
},
|
||||
"centos7": {
|
||||
"1.3.0": {
|
||||
"sha256": "",
|
||||
@@ -14,13 +7,6 @@
|
||||
"urls": []
|
||||
}
|
||||
},
|
||||
"centos8": {
|
||||
"1.3.0": {
|
||||
"sha256": "",
|
||||
"sig": "",
|
||||
"urls": []
|
||||
}
|
||||
},
|
||||
"darwin": {
|
||||
"1.3.0": {
|
||||
"sha256": "",
|
||||
@@ -42,48 +28,6 @@
|
||||
"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": {
|
||||
"1.3.0": {
|
||||
"sha256": "",
|
||||
@@ -91,41 +35,6 @@
|
||||
"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": {
|
||||
"1.3.0": {
|
||||
"sha256": "",
|
||||
@@ -135,9 +44,6 @@
|
||||
}
|
||||
},
|
||||
"Versions": {
|
||||
"arch": [
|
||||
"1.3.0"
|
||||
],
|
||||
"centos7": [
|
||||
"1.3.0"
|
||||
],
|
||||
@@ -150,45 +56,12 @@
|
||||
"debian10": [
|
||||
"1.3.0"
|
||||
],
|
||||
"fedora28": [
|
||||
"1.3.0"
|
||||
],
|
||||
"fedora29": [
|
||||
"1.3.0"
|
||||
],
|
||||
"fedora30": [
|
||||
"1.3.0"
|
||||
],
|
||||
"fedora31": [
|
||||
"1.3.0"
|
||||
],
|
||||
"linux": [
|
||||
"unavailable"
|
||||
],
|
||||
"opensuse15": [
|
||||
"1.3.0"
|
||||
],
|
||||
"opensuse15.1": [
|
||||
"1.3.0"
|
||||
],
|
||||
"solus": [
|
||||
"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": [
|
||||
"unavailable"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user