Revert CentOS 6 and CentOS 7
This commit is contained in:
@@ -3,8 +3,6 @@
|
|||||||
* 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
|
||||||
|
|||||||
@@ -12,8 +12,6 @@ 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
|
||||||
|
|||||||
@@ -8,18 +8,7 @@ function resetDistVer {
|
|||||||
DISTVER=
|
DISTVER=
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -f /etc/centos-release ]; then
|
if [ -f /etc/fedora-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
|
||||||
|
|||||||
Reference in New Issue
Block a user