Fixes for CentOS

This commit is contained in:
2018-01-12 23:50:26 +01:00
parent c3cd1f62f3
commit 156dc3305f

View File

@@ -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