CentOS 6 and CentOS 7 Support

This commit is contained in:
Scott E. Graves
2019-04-19 15:45:40 -05:00
parent dbc2fc6502
commit 6218470525
4 changed files with 109 additions and 4 deletions

View File

@@ -3,6 +3,8 @@
* Linux distribution support * Linux distribution support
* Arch Linux * Arch Linux
* Bodhi 5.0.0 * Bodhi 5.0.0
* CentOS 6
* CentOS 7
* Debian 9 * Debian 9
* Elementary OS 5.0 * Elementary OS 5.0
* Fedora 28 * Fedora 28

View File

@@ -12,6 +12,8 @@ Repertory allows you to mount Sia and/or SiaPrime blockchain storage solutions v
* Linux 64-bit Distributions: * Linux 64-bit Distributions:
* Arch Linux * Arch Linux
* Bodhi 5.0.0 * Bodhi 5.0.0
* CentOS 7
* CentOS 6
* Debian 9 * Debian 9
* Elementary OS 5.0 * Elementary OS 5.0
* Fedora 28 * Fedora 28

View File

@@ -8,7 +8,18 @@ function resetDistVer {
DISTVER= DISTVER=
} }
if [ -f /etc/fedora-release ]; then if [ -f /etc/centos-release ]; then
. /etc/os-release
if [ "$VERSION_ID" == "7" ]; then
DISTNAME=centos
DISTVER=7
elif [ "$VERSION_ID" == "6" ]; then
DISTNAME=centos
DISTVER=6
else
resetDistVer
fi
elif [ -f /etc/fedora-release ]; then
. /etc/os-release . /etc/os-release
if [ "$VERSION_ID" == "29" ]; then if [ "$VERSION_ID" == "29" ]; then
DISTNAME=fedora DISTNAME=fedora

View File

@@ -1,6 +1,20 @@
{ {
"Locations": { "Locations": {
"win32": { "arch": {
"1.0.3": {
"sha256": "",
"sig": "",
"urls": []
}
},
"centos6": {
"1.0.3": {
"sha256": "",
"sig": "",
"urls": []
}
},
"centos7": {
"1.0.3": { "1.0.3": {
"sha256": "", "sha256": "",
"sig": "", "sig": "",
@@ -14,25 +28,101 @@
"urls": [] "urls": []
} }
}, },
"debian9": {
"1.0.3": {
"sha256": "",
"sig": "",
"urls": []
}
},
"fedora28": {
"1.0.3": {
"sha256": "",
"sig": "",
"urls": []
}
},
"fedora29": {
"1.0.3": {
"sha256": "",
"sig": "",
"urls": []
}
},
"solus": { "solus": {
"1.0.3": { "1.0.3": {
"sha256": "", "sha256": "",
"sig": "", "sig": "",
"urls": [] "urls": []
} }
},
"ubuntu18.04": {
"1.0.3": {
"sha256": "",
"sig": "",
"urls": []
}
},
"ubuntu18.10": {
"1.0.3": {
"sha256": "",
"sig": "",
"urls": []
}
},
"ubuntu19.04": {
"1.0.3": {
"sha256": "",
"sig": "",
"urls": []
}
},
"win32": {
"1.0.3": {
"sha256": "",
"sig": "",
"urls": []
}
} }
}, },
"Versions": { "Versions": {
"arch": [
"1.0.3"
],
"centos6": [
"1.0.3"
],
"centos7": [
"1.0.3"
],
"darwin": [
"1.0.3"
],
"debian9": [
"1.0.3"
],
"fedora28": [
"1.0.3"
],
"fedora29": [
"1.0.3"
],
"linux": [ "linux": [
"unavailable" "unavailable"
], ],
"solus": [ "solus": [
"1.0.3" "1.0.3"
], ],
"win32": [ "ubuntu18.04": [
"1.0.3" "1.0.3"
], ],
"darwin": [ "ubuntu18.10": [
"1.0.3"
],
"ubuntu19.04": [
"1.0.3"
],
"win32": [
"1.0.3" "1.0.3"
], ],
"unknown": [ "unknown": [