Fixes for CentOS
This commit is contained in:
@@ -19,8 +19,8 @@ OS=`lowercase \`uname\``
|
|||||||
if [ -f /etc/os-release ]; then
|
if [ -f /etc/os-release ]; then
|
||||||
# freedesktop.org and systemd
|
# freedesktop.org and systemd
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
OS=`lowercase` $ID_LIKE
|
OS=$ID_LIKE
|
||||||
ID=`lowercase` $ID
|
ID=$ID
|
||||||
VER=$VERSION_ID
|
VER=$VERSION_ID
|
||||||
elif type lsb_release >/dev/null 2>&1; then
|
elif type lsb_release >/dev/null 2>&1; then
|
||||||
# linuxbase.org
|
# linuxbase.org
|
||||||
|
|||||||
Reference in New Issue
Block a user