Fixed Typo's in DistroInventory.sh and relead functions
This commit is contained in:
@@ -215,7 +215,7 @@ ParseOSRelease()
|
||||
if [ ! -z "$OSRELEASE" ]; then
|
||||
DISTRO=$(printf "$OSRELEASE" | awk -F= '$1=="ID" { print $2 ;}' /etc/os-release)
|
||||
VERSION=$(printf "$OSRELEASE" | awk -F= '$1=="VERSION_ID" { print $2 ;}' /etc/os-release |tr -d '"' )
|
||||
VERSIONNAME=$(printf "$OSRELEASE" | -- awk -F= '$1=="VERSION_CODENAME" { print $2 ;}' /etc/os-release)
|
||||
VERSIONNAME=$(printf "$OSRELEASE" | awk -F= '$1=="VERSION_CODENAME" { print $2 ;}' /etc/os-release)
|
||||
if [ ! -z "$VERSIONNAME" ]; then
|
||||
VERSION="$VERSION ($VERSIONNAME)"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user