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